Q3
✓ Published0🌍 Public
This scatter plot visualizes a dataset's sales quantity against sales cost. The visualization uses D3's `scaleLinear` to map data to pixel coordinates, `axisLeft` and `axisBottom` for the axes, and `csv` to load the remote dataset. Circle markers are colored by item category (Electronics, Cosmetics, or other) using a custom function. The chart renders as SVG, sized to fit the browser window, with green axis labels.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed