HW1-Scatter Plot with Menu
✓ Published0🌍 Public
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 descriptionMIT Licensed