🌍 Public
Viewing a saved revision (read-only)
284b33c2694c422e8cf573df9153cf7f
Infovis
This example shows a bar chart of the municipal tax rate for each Swedish region, with each bar’s height mapped to the tax rate. The code loads data from a CSV file and uses D3’s `scaleBand` for the x-axis, `scaleLinear` for the y-axis, and `csv` for parsing. The SVG canvas is 960 by 500 pixels, with bars rendered as `rect` elements whose positions and heights are set via D3 selection methods.
AI-generated description