Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork 999 of Stylized Bar Chart

Public visualization

Fork of Fork of Fork of Fork 999 of Stylized Bar Chart

0 stars1🌍 Public
Ssucotton9
Last edited Jul 18, 2021
Created on Jul 18, 2021

This example visualizes the top 10 most populous countries using a stylized bar chart, with countries on the x-axis and migrant counts on the y-axis. The chart loads CSV data from a GitHub gist containing United Nations World Population Prospects 2019 data. Built with React and D3 v5, the visualization uses `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and SVG `<rect>` elements via the `Marks` component. Axes are rendered using custom `AxisBottom` and `AxisLeft` components, with data formatting applied through `d3.format`.

AI-generated description

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

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed