Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
Jjanisha30gowda@gmail.com
Last edited Oct 16, 2025
Created on Oct 15, 2025
Forked from D3 Starter

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 description
MIT Licensed

Similar vizzes