Skip to main content
100%

Fork of cereals D3 Scatter Plot

✓ Published0🌍 Public
Ssreeramyamini@gmail.com
Last edited Mar 20, 2024
Created on Mar 20, 2024

This example visualizes the distribution of calories across different cereal brands using a vertical bar chart. The chart displays each cereal name on the x-axis with calorie values mapped to the y-axis, making it easy to compare relative calorie counts. The visualization is built with D3 v7 and renders as SVG, using `d3.scaleBand` for the categorical x-axis, `d3.scaleLinear` for the numeric y-axis, and `d3.axisBottom` and `d3.axisLeft` for the axes. Data is loaded from a CSV file via `d3.csv`, with each bar's height proportional to the cereal's calorie value.

AI-generated description
MIT Licensed

Similar vizzes