Skip to main content
100%

Add Interaction OR Iterate Your Work

✓ Published0🌍 Public
JJingxuan Yang
Last edited Feb 13, 2024
Created on Feb 13, 2024

This example shows a scatter plot of King County house prices from the kc_house_data CSV, plotting living area in square feet against the number of bedrooms. Hovering over the plot draws crosshair lines that track the mouse position, with the chart updating via a state-based pattern in D3 v7. The visualization uses `scaleLinear` axes from the `@RenoBlitz/responsive-axes` library, along with `selectAll` and `data` joins for rendering circles and lines. The entry point imports `select` from D3 and custom modules, while `observeResize` handles responsive dimensions. The dataset is imported from `@RenoBlitz/dataset01`.

AI-generated description

A simple scatter plot with D3 showing the kc_house_data

Challenge

  • Fork this viz
  • Modify it to show your data
MIT Licensed

Similar vizzes