Skip to main content
100%

Refactored Bar Chart

✓ Published1🌍 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.

MIT Licensed

Similar vizzes