7
✓ Published0🌍 Public
This example displays a bar chart comparing total COVID-19 deaths across 14 countries, with steel-blue bars sorted by country name and labeled with their precise totals. Built with D3 v7 and SVG, the visualization uses `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and D3's `axisBottom` and `axisLeft` to render the axes, with bars and labels appended directly to the SVG elements.
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