Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Refactored Bar Chart

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed