Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

9cfc8763c04e476cab64809164bc6691

Making a Bar Chart

0 stars1🌍 Public
RRoger Yu-Hsiang Lo
Last edited Jan 23, 2020
Created on Jan 23, 2020

This example displays a bar chart of the top 10 most populous countries, with population values on the x-axis and country names on the y-axis. The SVG render uses d3.csv to load the data, then d3.scaleLinear and d3.scaleBand to map values, with d3.axisLeft and d3.axisBottom for tick marks.

AI-generated description