Skip to main content
100%

Fork of Refactored Bar Chart

✓ Published0🌍 Public
Llatifiss
Last edited Oct 7, 2022
Created on Oct 7, 2022

This example visualizes the top 10 most populous countries using a scatter plot, with population on the x-axis and sepal length on the y-axis, despite the mismatch with the data source. The chart displays circular marks for each country, with tooltips showing the population value formatted in billions. Built with React and D3 v5, it uses `csv` to load data from a URL, `scaleLinear` for scaling, and renders SVG elements through React components like `AxisBottom`, `AxisLeft`, and `Marks`. The code also includes a video embed from YouTube.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes