Skip to main content
100%

Refactored Bar Chart

✓ Published1🌍 Public
BBen Seebeck
Last edited Nov 4, 2021
Created on Nov 4, 2021

This chart displays population data for ten countries, using a horizontal bar layout with categorical country names on the y-axis and a linear population scale on the x-axis. Built with React and D3 v7, the SVG visualization separates concerns into modular components for axes and marks. Data loads asynchronously from a CSV file into React state via a custom `useData` hook, while `scaleBand` and `scaleLinear` position bars and ticks.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to render the data as a radial burst.

MIT Licensed

Similar vizzes