🌍 Public
Viewing a saved revision (read-only)
64cb0c36e2df444099c712b1bf0918f1
Friends Over the Years
This visualization displays the duration of friendships, measured in years, for a list of named individuals, with each person shown as a bar. The bars are sorted by the length of the friendship, with the longest at the top and the shortest at the bottom. The code uses D3 v5's `csv`, `scaleBand`, `scaleLinear`, and `axisBottom` APIs to load the data and render the SVG chart. Each bar’s height corresponds to the friendship length, while the x-axis labels identify each person’s name.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.