Skip to main content
100%

HW1-Scatter Plot with Menu

✓ Published0🌍 Public
Ee94091071@gs.ncku.edu.tw
Last edited Sep 9, 2024
Created on Sep 4, 2024
Forked from Hello VizHub

This interactive scatter plot visualizes multidimensional data through a menu-driven interface. The visualization uses D3.js to render points on an SVG canvas, with a dropdown menu allowing users to switch between different data attributes for the x and y axes. The code employs d3.select, d3.scaleLinear, d3.axisBottom, and d3.axisLeft to construct the coordinate system, while d3.csv parses the external dataset. A menu change event triggers a transition that updates the point positions using transition.attr, providing a dynamic comparison of variable relationships.

AI-generated description
MIT Licensed

Similar vizzes