Skip to main content
100%

Assignment 2 Question 5

✓ Published0🌍 Public
Lleftymadi
Last edited Jul 12, 2023
Created on Jul 12, 2023
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes