Skip to main content
100%

台灣歷年成人吸菸率

✓ Published0🌍 Public
CCola731
Last edited Jan 14, 2021
Created on Jan 13, 2021

This interactive bar chart visualizes Taiwan’s adult smoking rates from 2004 to 2016, broken down by age group and education level. Clicking the PLAY button animates the charts annually, showing how smoking peaks shift toward older age cohorts over time. A checkbox overlays data from five years earlier for comparison. The visualization uses d3.v5 with SVG rendering, leveraging d3.scaleBand and d3.scaleLinear for axes, and employs setInterval for the animation loop. Data is loaded from a remote CSV via d3.csv.

AI-generated description
MIT Licensed

Similar vizzes