🌍 Public
Viewing a saved revision (read-only)
9615b1832fd041549b5d0b77c52fc1ee
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