Alcohol Consumption in U.S.
✓ Published1🌍 Public
The chart displays annual per-person alcohol consumption in the U.S., tracking three beverage categories—Spirits, Beer, and Wine—over time as filled area paths. It uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `area` with `curveBasis` to render smooth, stacked SVG paths, with a separate y-scale defined for each category. The data is loaded via `d3.csv` from a CSV file hosted on VizHub, and the visualization includes labeled axes and a title within an SVG canvas.
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