🌍 Public
Viewing a saved revision (read-only)
47449ae00d83439496bbb4ef93084304
Fork of D3.js
A fork of D3.js renders a simple bar chart of regional values using SVG rectangles styled with a purple fill. The chart fetches data from a local JSON file via the Fetch API, while also parsing a second dataset embedded as a global variable through a script tag. It uses d3.scaleBand for the x-axis positioning and d3.scaleLinear for the y-axis, with padding applied to separate the bars. The visualization demonstrates a basic data-binding workflow with D3 v5, though the chart shows no axes or labels beyond the bar heights.
AI-generated description