Skip to main content
Public

Share visualization

Loading preview…

HW Scatter Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

HW Scatter Plot

1
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.

Comments

Sign in to join the discussion.

MIT Licensed