Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
MMilena Belianovich Holtman
Last edited Oct 13, 2022
Created on Oct 13, 2022

This example shows a horizontal bar chart using data from the United Nations population estimates for 2020. The chart displays population values for the ten most populous countries, with country names positioned along the vertical axis and population represented by bar length. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for the axes and React components to render SVG marks and tick labels. The `Marks` component creates rectangles that include an SVG `<title>` element for hover tooltips, while the bars and labels are styled through the Poppins font and a custom color scheme.

AI-generated description

A program that refactors jumbled visualization components.

MIT Licensed

Similar vizzes