Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Refactored Barchart

Public visualization

Refactored Barchart

0 stars1🌍 Public
Mmikekslv
Last edited Mar 10, 2022
Created on Mar 10, 2022

This horizontal bar chart displays the population of ten countries from the UN Population 2019 dataset. React renders SVG elements, while D3’s `scaleBand` and `scaleLinear` position bars and axes. The `AxisBottom` and `AxisLeft` components generate ticks, and `Marks` maps data to rectangles with native `<title>` tooltips using `format(".2s")`. Population values are formatted as billions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed