Add Interaction OR Iterate Your Work
✓ Published0🌍 Public
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 descriptionA simple scatter plot with D3 showing the kc_house_data
Challenge
- Fork this viz
- Modify it to show your data
MIT Licensed