Charater Height vs Weight Scatterplot Pt. 2
A scatterplot maps Marvel characters’ weight against height, with each point colored by alignment (green for good, dark red for bad, grey for neutral). Hovering highlights a point in blue, while character names are rendered as labels directly beside each circle. The visualization uses D3 v5 to load CSV data, scale linear axes, and render SVG elements, with axes labeled for pounds and feet. Height values are converted from centimeters to feet before plotting, and the chart applies fixed margins and an interactive hover effect via CSS.
AI-generated descriptionIteration 2 of Height versus weight scatterplot of marvel characters.
Updates from part 1:
--Character name (weight, height) on hover
--Color points based on alignment
-- Axis Labels/title
-- Flipped axis to have character height be datapont height
-- Changed height from cm to ft
-- zoom in!
Data from: https://gist.github.com/LeahMitchell/8ad46fbcac8d7420bcd5b97b1a245f43#file-readme-md
Inspiration: