Fork of D3 Starter
✓ Published0🌍 Public
This example shows a bar chart of average temperatures by city, rendered as an SVG with a steelblue fill for each bar and an orange hover highlight. It loads data from a CSV file and uses D3 v3’s `scaleBand` and `scaleLinear` to position bars, while `axisBottom` and `axisLeft` add labeled axes with a thinned tick list. The chart is built on an 800×500 canvas with margins, a title, and sans-serif styling from a separate CSS file. The code imports the D3 library via a module script and includes a minimal `index.js` that writes a placeholder text.
AI-generated descriptionMIT Licensed