Injury Healing Times: A visualization with D3.js
This example visualizes the variability and average recovery times for different injury types, such as muscle strains, ligament sprains, and bone injuries, using a scatterplot where each circle represents an injury category. The x-axis shows the range of recovery variability (in days) and the y-axis displays the average days to recovery, with tooltips revealing the specific low and high estimates. Built with D3.js (v3), the visualization uses `d3.scale.linear` for the axes, `d3.svg.axis` for ticks and labels, and SVG circles with mouseover and mouseout transitions that enlarge the points. The data, loaded from a CSV file via `d3.csv`, originates from an infographic by Caleb Burgess, and the animation highlights interactive hovering.
AI-generated descriptiond3js: Injury Healing Times.
If found a nice <a href='https://www.instagram.com/p/BirUVLyA0xb/?hl=en&taken-by=modernmanualtherapy'>infographic on healing times for different injuries</a> from <a href='https://www.instagram.com/dr.caleb.burgess/?hl=en'>Caleb Burgess</a> via <a href='https://www.instagram.com/modernmanualtherapy/?hl=en'>Modern Manual Therapy</a>. The table is great, but I though it would be interesting to make a visual representation.
I took the code from an example that I thought would be similar (<a href='http://bl.ocks.org/jfreels/'>jfreels</a>'s block: <a href='http://bl.ocks.org/jfreels/6816504'>d3js: Scatterplot using CSV data.</a>). I've done my best to modify it as a way of learning to create data visualizations.