🌍 Public
Viewing a saved revision (read-only)
cf2cdfdab3a74b49a84530926c9c5b16
Marks and channels
This chart displays the number of nuclear weapons for various countries using horizontal bars. The visualization employs a bar chart with axes and scales, colored in a single red tone. Built with React and D3 version 5, the code uses `d3.csv` to load data from a remote URL, `d3.scaleBand` and `d3.scaleLinear` for scales, and renders the output as SVG. The chart’s axis labels and tick marks are generated from the scales, while the bar lengths encode the numeric values from the dataset.
AI-generated description