Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Intersections Two

Public visualization

Intersections Two

0 stars0🌍 Public
Aadventuresenglish.info@gmail.com
Last edited Dec 11, 2023
Created on Dec 11, 2023
Forked from Intersections

This example presents an interactive scatter plot of U.S. state statistics, including median income, alcohol consumption, and murder rate, using the D3.js library. Users can select which quantitative variable to map to the X and Y axes via dropdown menus, with the chart animating transitions between configurations. The visualization dynamically switches between circular marks for quantitative axes and rectangular bars for categorical axes, such as plotting states alphabetically. Data is loaded from a CSV file, and the code leverages D3's selection joins, scales, and axes for rendering.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed