Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Refactored Bar Chart

Public visualization

Viewing a saved revision (read-only)

18ae0485ae6f4a419fb32e0ea5909ff5

Refactored Bar Chart

0 stars1🌍 Public
BbeauMarko
Last edited Jan 27, 2021
Created on Jan 27, 2021

This bar chart displays the population of ten countries from the UN Population 2019 dataset, with country names on the y-axis and population values on the x-axis. Built with React, the visualization loads data via d3's `csv` utility and renders the bars and axes as SVG elements. The code separates components into `AxisBottom`, `AxisLeft`, and `Marks`, using d3's `scaleBand` and `scaleLinear` for positioning.

AI-generated description

A program that loads in saome data using d3 utilities and uses React to keep track of the data.