Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

f30ce94cd14c47eaa4c58fc83851875b

Bar Chart

0 stars1🌍 Public
Sshikharpa
Last edited Jan 19, 2021
Created on Jan 19, 2021
Forked from shikhar D3_Starter

This bar chart displays the populations of the top 10 most populous countries, using horizontal bars ranked by descending population. The visualization uses D3 v6 with SVG rendering, employing `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisLeft` and `axisBottom` for the axes. Data is loaded from a CSV file and parsed with `csv`, with the chart drawn using `select` and `append` on the SVG container.

AI-generated description

Demonstration on how to use D3.js smoothly while making a bar chart.yeeee