Skip to main content
100%

Untitled

✓ Published1🌍 Public
EEthanscottmyers
Last edited Dec 11, 2020
Created on Dec 11, 2020

This interactive React application visualizes student academic histories by comparing a selected student’s grades against a database of peers. It displays a table of course history across terms, then generates a Sankey diagram for each course using `d3-sankey` and `sankeyLinkHorizontal`. The Sankey chart flows from course numbers through student cohorts to letter-grade outcomes, aggregating similar students’ performance. The app parses CSV files with PapaParse, queries backend results via axios, and renders SVG graphics within a `VizContainer` that applies standard margins.

AI-generated description

Boilerplate code for a React + D3 visualization with:

  • CDN links for React, ReactDOM, and D3
  • Basic React boilerplate
  • Variables for dimensions and margins
  • A VizContainer component that:
    • Abstracts SVG/group container elements
    • Follows the margin convention
    • Show the margins, which can be easily removed by deleting the showMargins={true} prop
MIT Licensed

Similar vizzes