Skip to main content
100%

HW Scatter Plot

✓ Published1🌍 Public
YYF
Last edited Nov 8, 2018
Created on Sep 9, 2018

This scatter plot visualizes candy brands from FiveThirtyEight’s Ultimate Halloween Candy Power Ranking, showing sugar content against price. It demonstrates that there is little correlation between the two variables. The visualization uses d3.csv to load the data, d3.scaleLinear to map values, and d3.axisBottom and d3.axisLeft to render axes with grid lines. Data is drawn as semi-transparent purple circles using SVG, with axis labels and titles styled via CSS.

AI-generated description

This scatter plot shows data about various candy brands, from The Ultimate Halloween Candy Power Ranking. The visualization basically shows that there is not much relationship between the sugar content and the candy price.

MIT Licensed

Similar vizzes