Scatter plot of tobacco control data
This scatter plot displays tobacco control scores for Canada, the United States, and Mexico from 2007 to 2018, based on WHO Global Health Observatory data. The y-axis represents the strength of warning labels about tobacco dangers, ranging from 1 (not reported) to 5 (comprehensive pictorial warnings). The visualization highlights an upward trend, with all three countries improving their warning policies over time. The code uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.axisLeft and d3.axisBottom for the chart's ticks. Circles are rendered in SVG with a radius of 10 pixels, colored by country (red, blue, green) and drawn with 50% opacity.