Activity6_Question3
✓ Published0🌍 Public
This scatter plot displays King County house sales, comparing price against square footage while distinguishing waterfront properties from non-waterfront ones using an ordinal color scale with blue and orange dots. The visualization loads data from a remote CSV file via `d3.csv`, parses numeric fields, and renders circles in SVG using `d3.scaleLinear` for axes and `d3.axisLeft`/`d3.axisBottom` for labeled scales. A custom legend built with SVG rectangles and text identifies the two color-coded categories.
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