Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart with D3.js and SVG

Public visualization

Making a Bar Chart with D3.js and SVG

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed