Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

4d2b1f137bbb4f1e94a775b373569d4e

Stylized Bar Chart

0 stars0🌍 Public
Qqhfzwyx
Last edited Apr 26, 2020
Created on Apr 26, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries using horizontal bars, with population values shown on the x-axis and country names on the y-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and renders SVG rectangles via a `Marks` component. Data comes from a CSV file loaded with `d3.csv`, and the chart includes custom axes, tick formatting with `format('.2s')`, and tooltips using SVG `<title>` elements.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.