Skip to main content
100%

Fork of SVG Starter

✓ Published0🌍 Public
Rrajan1508
Last edited Apr 28, 2021
Created on Apr 22, 2021
Forked from SVG Starter

This bar chart displays population estimates for ten countries, ordered along the y-axis with population sizes extending horizontally. The visualization uses a CSV data source loaded via d3.csv, with d3.scaleLinear and d3.scaleBand for positioning. SVG rectangles are drawn and styled with steelblue, while d3.axisLeft and d3.axisBottom render the axes. The code leverages D3 v6 modules imported through ES6 syntax, applying margins and padding to structure the chart layout.

AI-generated description

Making bar graphs with d3.js.

MIT Licensed

Similar vizzes