Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question3

Public visualization

Viewing a saved revision (read-only)

3a692b680ced4ed587ffb32b7020caad

Activity6_Question3

0 stars0🌍 Public
CChandra Prakash Reddy Kalwakolu
Last edited Apr 15, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.