Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 3

Public visualization

Activity 6 Question 3

0 stars0🌍 Public
Nnarasimhacharyulu010@gmail.com
Last edited Apr 5, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This scatter plot visualizes exam scores for 20 students, plotting math scores on the x-axis against English scores on the y-axis. Each dot is color-coded according to performance category—Excellent, Good, or Satisfactory—based on the student’s average score. The visualization uses D3.js v7 to create an SVG chart with linear scales, axes, and a legend. The code defines scales with d3.scaleLinear and applies a color scale with d3.scaleOrdinal and d3.schemeCategory10, rendering the data points as circles.

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.

Comments

Sign in to join the discussion.

MIT Licensed