🌍 Public
Lets make a BAR CHART!
This bar chart displays population estimates for ten countries using horizontal bars, encoding each nation’s population as the bar’s width and ranking countries vertically. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map data values to pixel dimensions, with `axisLeft` and `axisBottom` providing labeled axes. Data is loaded from a CSV file via `csv()` and rendered as SVG rectangles, with populations scaled by a factor of 10,000.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.