🌍 Public
Viewing a saved revision (read-only)
c22da8c6b4a643918721f91815a0b985
Customizing Axes
This visualization displays the populations of nine countries as horizontal bars, from China at the top to Russia at the bottom. The chart uses d3.scaleLinear for the x-axis, d3.scaleBand for the y-axis, and d3.axisBottom with a custom tick format that abbreviates numbers. The code loads CSV data using d3.csv, renders SVG rectangles, and customizes axis labels, tick lines, and removes default axis domains for a cleaner look.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.