Skip to main content
100%

Fork of Smiley Face Part II

✓ Published0🌍 Public
Jjames.haarbauer@dunya-analytics.com
Last edited Jun 18, 2024
Created on Jun 17, 2024

This example visualizes United Nations population data for 2020 using a bar chart, where each country is represented by a horizontal rectangle. The chart is rendered with SVG within a React application, leveraging D3’s `scaleBand` and `scaleLinear` to map country names and population values to pixel coordinates. Data is loaded asynchronously via D3’s `csv` parser from a remote gist URL. The code uses D3’s `max` utility to determine the scale domain.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes