🌍 Public
Viewing a saved revision (read-only)
9210d8e66d474b75b1b570fc459960f6
Ass8_Question3
This scatter plot visualizes the relationship between carat and price in the Diamonds dataset, with each circle colored by the diamond’s cut quality using a D3 ordinal color scale. The visualization includes interactive tooltips that display cut, carat, and price on mouseover, and it employs D3 scales (scaleLinear), axes (axisLeft, axisBottom), and SVG rendering. Data is loaded asynchronously from a CSV hosted on GitHub, with the plot sizing to the full browser window.
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.