Skip to main content
100%

Stylised Bar Chart

✓ Published1🌍 Public
SShuyu Zheng
Last edited Dec 25, 2020
Created on Dec 25, 2020

A stylised horizontal bar chart visualizes 2019 UN population data for the first ten countries from a CSV, encoding values with bar length. Built with D3 v5 and React, the visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, rendering bars as SVG `<rect>` elements via custom `Marks` components. Custom tick styling and tooltips (using `<title>`) enhance readability, while axes are generated with `AxisBottom` and `AxisLeft` components, and a 'Population' label is positioned manually.

AI-generated description

A program that render data about CSS named colors using uses React.

MIT Licensed

Similar vizzes