Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot

Public visualization

Fork of Scatter Plot

0 stars0๐ŸŒ Public
Mmadipadiga.raviteja@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Scatter Plot

This scatter plot visualizes the relationship between calorie content and price for food items, with each point colored by category using a categorical color scale. Built with D3 v6, the visualization renders as an SVG and loads data from a CSV file hosted on GitHub. The code defines linear scales for both axes, maps data values to circle positions, and applies the `d3.scaleOrdinal` color scheme with `d3.schemeCategory10` for category-based coloring.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed