srinivas 1.1
✓ Published0🌍 Public
This bar chart displays the population of ten countries in 2020, with horizontal bars sorted by country name. The visualization uses a linear scale for the population axis and a band scale for the categorical country axis. Built with React and D3 v5, it loads data from a CSV file and renders the chart as SVG elements, including custom axes and marks. Tooltips show the formatted population value for each bar.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed