Assignment 2 Question 5
✓ Published0🌍 Public
This example shows a scatterplot of student performance data, with points colored by grade (A, B, or D) and animated to cycle through different x-axis attributes like student activity levels and high school strength. The visualization uses D3’s `csv` loader to fetch data from a GitHub gist and `scaleLinear`, `axisLeft`, and `axisBottom` for axes. A `setInterval` timer updates the plot’s x-value mapping, while SVG circles, text labels, and a custom legend are drawn dynamically. The rendering is SVG-based with animation.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed