Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Refactored Bar Chart

Public visualization

Viewing a saved revision (read-only)

df1a3a2ffc9244eb9c2dfc7cba1e66d5

Fork of Refactored Bar Chart

0 stars0🌍 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.