Making a bar chart
✓ Published0🌍 Public
This example demonstrates how to build a horizontal bar chart showing population figures for ten countries, with population values scaled by a factor of one thousand. The visualization uses D3 v5 to load CSV data, create linear and band scales, and render SVG rectangles with axes. Country names appear on the y-axis via `axisLeft`, while population values are displayed on the x-axis using `axisBottom`. The chart is styled with steelblue bars and custom font sizing through external CSS.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed