Changes for version 0.13 - 2026-09-15
- Enhancements
- render_zoomable_line_chart_snippet: accept an optional second argument { animated => 1 } to animate the initial line draw on page load. The line traces itself left-to-right via stroke-dashoffset / d3.easeLinear (1200 ms); data-point circles then fade in from opacity 0 over 300 ms (after a 1200 ms delay so they appear only once the line reaches them). Subsequent zoom and reset redraws are never animated. Respects prefers-reduced-motion: when the user has requested reduced motion the chart draws immediately at full opacity. Omitting the second argument or passing { animated => 0 } gives the existing behaviour unchanged (backward-compatible).
Documentation
Modules
A simple Perl module for generating charts using D3.js.