🌍 Public
Viewing a saved revision (read-only)
5e2dd517da4e44dda6451af707ec8ad3
Fork of Fork of Let's make a Bar Graph with D3.js
A horizontal bar chart ranks countries by economic value, with China leading and France trailing. Bars are rendered as SVG rectangles using D3 v7’s `scaleBand` for y-axis positioning and `scaleLinear` for widths, with `axisLeft` and `axisBottom` generating axes. The chart includes hover tooltips via `d3.select` transitions and a CSV-loaded dataset, animated only through opacity changes on mouseover.
AI-generated description