Use these chart templates to visualize SEO data throughout your website.
First, include the blank-charts.js file in your page:
<script src="assets/js/charts/blank-charts.js"></script>
Add a container element where you want to display the chart:
<div id="myChartContainer" style="width: 100%; height: 300px;"></div>
Call the appropriate chart creation method:
<script>
// Create a line chart
BlankCharts.createLineChart('myChartContainer', 600, 400, {
lineColor: '#3498db',
backgroundColor: '#ffffff',
gridColor: '#e0e0e0',
showGrid: true
});
// Or create a bar chart
// BlankCharts.createBarChart('myChartContainer', 600, 400, {...});
// Or create a pie chart
// BlankCharts.createPieChart('myChartContainer', 400, 400, {...});
// Or create an area chart
// BlankCharts.createAreaChart('myChartContainer', 600, 400, {...});
// Or create a scatter plot
// BlankCharts.createScatterPlot('myChartContainer', 600, 400, {...});
</script>
Each chart type supports various options for customization: