Skip to main content
100%

Beer Consumption in U.S.

✓ Published2🌍 Public
CChooo4u
Last edited Sep 21, 2018
Created on Sep 21, 2018

This chart visualizes beer consumption per person in the United States from 1890 to 2013, alongside wine consumption for comparison. The data, sourced from a CSV file, reveals a sharp drop to zero during Prohibition (1920–1933) and a general rise in beer consumption afterward. The visualization uses D3 v5 with SVG rendering, implementing two separate linear scales for beer and wine, a time scale for years, and area generators with curveBasis to create smooth filled regions. Axes are drawn using `d3.axisBottom` and `d3.axisLeft`, while right-side axis labels are configured through `axisright`.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

MIT Licensed

Similar vizzes