Skip to main content
Public

Share visualization

Loading preview…

Untitled

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Untitled

1
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

Comments

Sign in to join the discussion.

MIT Licensed