Skip to main content
100%

Stylised bar chart

✓ Published1🌍 Public
MmohitPassan
Last edited Apr 27, 2021
Created on Apr 26, 2021

A stylised bar chart displays population data for various countries, with horizontal bars ranked by value. The visualization uses React state management via a `useData` hook to load CSV data from a gist, while D3 v6 functions `scaleBand`, `scaleLinear`, and `max` handle scaling and layout. SVG rectangles render the bars, with axes generated by custom `AxisBottom` and `AxisLeft` components. Tick labels use D3’s `format` with SI prefixes, and a Poppins font styles the chart.

AI-generated description

A program that loads in some data about CSS colors using d3 and keeps track using react

MIT Licensed

Similar vizzes