Skip to main content
100%

Scatter Plot

✓ Published5🌍 Public
Vvp9156623@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This scatter plot visualizes the relationship between calorie content and price for menu items, with each point colored by category using a D3 ordinal color scale. The visualization uses `d3.scaleLinear` for both axes and `d3.axisBottom`/`d3.axisLeft` for ticks. Data is loaded asynchronously from a GitHub gist via `d3.csv`, then mapped to SVG circles with `d3.select` and `append`. The SVG rendering includes styled axes and labeled dots within a fixed 460×400 viewport.

AI-generated description
MIT Licensed

Similar vizzes