Skip to main content
100%

Scatter Plot

✓ Published0🌍 Public
Rr79162810@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Scatter Plot

This reusable scatter plot visualizes the relationship between calorie content and price for various beverages, with each circle representing a beverage. The chart uses D3.js v6 to load a CSV dataset, scale the axes linearly, and render circles positioned by calorie content on the x-axis and price on the y-axis. Axes are generated using d3.axisBottom and d3.axisLeft, while circles are appended as SVG elements with a steelblue fill. The static, responsive layout centers the plot on a white background, with styled text and axes for readability.

AI-generated description
MIT Licensed

Similar vizzes