Friends Over the Years
✓ Published0🌍 Public
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.
MIT Licensed