Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

Viewing a saved revision (read-only)

d611ef56dbb14e849f1ab1543ac1e7b9

Making a bar chart

0 stars1🌍 Public
Jjay
Last edited Feb 10, 2020
Created on Feb 10, 2020
Forked from Making a bar chart

This example shows a horizontal bar chart of the top 10 most populous countries, using circles sized by population instead of traditional bars. The chart loads data from a CSV file and renders as an SVG. The code uses D3 v5 APIs including `select`, `csv`, `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` to build the visualization, with custom tick formatting and a title.

AI-generated description