Skip to main content
100%

Marvel Charts

✓ Published0🌍 Public
LLeah Mitchell
Last edited Dec 9, 2021
Created on Dec 1, 2021

Two interactive Marvel character visualizations display the relationship between a hero's attributes—Strength, Intelligence, Speed, Durability, Power, and Combat—and their total power score. A Voronoi-overlaid scatterplot, built with d3.Delaunay and SVG animations, plots characters by selected attributes while a draggable menu changes the axes. A companion radar chart, using d3.scaleLinear and transition, overlays a second character's profile in dashed strokes for comparison. Tooltips reveal character names on hover, sourced from a CSV of 257 characters.

AI-generated description

The plots overall detail information from a Marvel Dataset. Each of the various characters are given a score for the 6 different traits and then one total score value.

Data from: https://gist.github.com/LeahMitchell/8ad46fbcac8d7420bcd5b97b1a245f43#file-readme-md

Code References:

Veroni Graph: https://bl.ocks.org/Fil/f49b5cf943a0210212994aa5860ac4a8

https://observablehq.com/@didoesdigital/9-may-2020-d3-scatterplot-with-voronoi-tooltips

Tool Tip:

https://www.d3-graph-gallery.com/graph/interactivity_tooltip.html

https://chartio.com/resources/tutorials/how-to-show-data-on-mouseover-in-d3js/

Radar chart design created by Nadieh Bremer - VisualCinnamon.com

MIT Licensed

Similar vizzes