Alcohol Consumption in U.S.
✓ Published2🌍 Public
This visualization shows per-capita beer consumption in the United States from 1890 to 2013, with a distinct gap representing Prohibition. The chart uses an area generator with a basis curve to create a smooth, filled region under the line, rendering each data point as part of a single path. Built with D3 v5, it employs `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and the `area` helper, reading data from a CSV file. The SVG output includes axis labels, gridlines, and a title, with the maroon-filled area highlighting trends over time.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.
MIT Licensed