Skip to main content
100%

Bar Chart

✓ Published1🌍 Public
KKrishu
Last edited Aug 5, 2020
Created on Aug 5, 2020
Forked from Bar Chart

A horizontal bar chart displays population estimates for ten countries, with bar length encoding each nation’s population value. The visualization uses D3 v5’s `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis, rendering SVG rectangles via `svg.selectAll('rect')`. Data is loaded from a CSV file using `d3.csv`, with population values multiplied by 100 during preprocessing. The chart is fully responsive to the SVG’s width and height attributes, with no axes or labels added.

AI-generated description
MIT Licensed

Similar vizzes