Skip to main content
100%

Making a Bar Chart with D3.js and SVG

✓ Published1🌍 Public
Ssiddharth171
Last edited Jul 21, 2020
Created on Jul 21, 2020

This example shows a horizontal bar chart of the populations of ten countries, ordered from largest to smallest, using data from a local CSV file. The visualization renders as an SVG graphic, with the chart’s axes and bars generated through D3.js v5 functions like `scaleLinear` and `scaleBand`, and draws the axis ticks with `axisLeft` and `axisBottom`.

AI-generated description
MIT Licensed

Similar vizzes