Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

population

Public visualization

population

0 stars0🌍 Public
RRonald Yagan
Last edited Mar 9, 2021
Created on Mar 9, 2021

This example displays a horizontal bar chart of the top 10 countries by projected 2020 population, using data loaded from a CSV file. The visualization employs React for component rendering and SVG for drawing rectangles, with scales from D3 (`scaleBand` and `scaleLinear`) mapping country names to y-positions and population values to bar widths. The data is fetched asynchronously using D3’s `csv` utility, and the bars are colored uniformly without additional styling.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!

Comments

Sign in to join the discussion.

MIT Licensed