Fork of Sylized Histogram
✓ Published0🌍 Public
This example visualizes the population of the top 10 countries in 2020 as a horizontal bar chart. The code uses React to render SVG elements, with D3 v7’s `scaleBand` for the y-axis and `scaleLinear` for the x-axis, and formats tick labels using D3’s `format`. Data is loaded as CSV via `d3.csv` from the UN Population 2019 dataset. Tooltips display formatted values, while axes are custom-built using D3’s scale ticks.
AI-generated descriptionA program that loads in some data about CSS colors
MIT Licensed