Skip to main content
100%

Beer Consumption in U.S.

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

This visualization shows per-person beer and wine consumption in the United States from 1890 to 2013, with a notable drop to zero during Prohibition (1920–1933). Two filled area charts, one red for beer and one brown for wine, share a common time axis but use separate left and right y-scales. The code uses D3 v5 functions like `d3.csv`, `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, `axisRight`, and `d3.area` with `curveBasis`, rendering to an SVG. Data comes from a local CSV file.

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