Customize axis
✓ Published1🌍 Public
A horizontal bar chart displays the populations of China, India, and the United States, using a custom SVG axis. The chart loads data from a CSV file, converting population values to thousands. It uses d3.scaleLinear and d3.scaleBand for positioning, and d3.axisBottom with a custom tick formatter that abbreviates large numbers. Grid lines extend across the plot, while the y-axis and domain lines are removed, leaving a clean, labeled visualization.
AI-generated descriptionAn example including some commonly used features of SVG.
MIT Licensed