🌍 Public
Viewing a saved revision (read-only)
49c2fc8cb3c3442cb33b45de79fcae15
Untitled
This example visualizes monthly donation amounts from June 2016 to May 2017 using an SVG bar chart. The `d3.timeParse` function parses the month labels, and `d3.select` appends the chart to the page. A custom `responsivefy` function ensures the `viewBox` scales the chart to its container’s width on window resize, preserving the aspect ratio. The code relies on the D3 v4 library and hard-coded data arrays.
AI-generated descriptionThis is a description using Markdown.