Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

D3 Color Scatterplot

Public visualization

D3 Color Scatterplot

0 stars0๐ŸŒ Public
Mmariahdiaz
Last edited Oct 3, 2022
Created on Oct 2, 2022
Forked from D3 Bubble Chart

This scatterplot compares cereal manufacturers by plotting each product's rating against its calorie count. The visualization encodes the manufacturer as color, with Kellogg's points in red and Nabisco points in blue, and includes a categorical legend to distinguish the two brands. The chart is rendered as an SVG using D3 v7, with linear scales for both axes and a sequential color legend built with the d3-legend library. The underlying data is loaded from a CSV file containing manufacturer, rating, and calorie fields.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed