Customizing Axes
✓ Published0🌍 Public
The chart displays a horizontal bar chart of country populations, sorted by size, with a customized axis layout. D3 v5 APIs `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` position the bars, while `format` abbreviates tick labels (e.g., "400K"). The y-axis removes its domain and ticks, and the x-axis uses negative tick lines to create a grid. Data loads from `data.csv`, with population values multiplied by 1,000 before rendering in SVG.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed