HW Scatter Plot
✓ Published1🌍 Public
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 descriptionThis 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