Skip to main content
100%

Fork of Untitled

✓ Published0🌍 Public
VVineela Reddy
Last edited Apr 5, 2023
Created on Apr 5, 2023
Forked from Untitled

This example shows a 2D scatter plot of product cost versus selling price, with each product represented as a small purple circle. The x-axis encodes cost price and the y-axis encodes selling price, both using linear scales. The code loads CSV data from a GitHub gist via `d3.csv` and renders the plot as SVG circles using `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` for axes. Despite the title mentioning "3D," the visualization is strictly two-dimensional, with axis labels added via HTML divs.

AI-generated description
MIT Licensed

Similar vizzes