Stylized Bar Chart
✓ Published1🌍 Public
A stylized bar chart displays the population of ten countries for 2020, with horizontal bars ranked vertically. The visualization uses React to render SVG elements, with D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Data is loaded asynchronously from a CSV file via D3’s `csv` function, then formatted with D3’s `format` for tick labels, using the ’B’ suffix for billions. Bars include a native SVG `<title>` element for tooltips, while the Poppins typeface and custom tick styling give the chart a refined, minimalist appearance.
AI-generated descriptionA program that loads CSV data into react and renders the data
MIT Licensed