Svelte & D3: Serving Data Journalism
summary
Shows how to combine Svelte and D3 to build interactive web infographics for newsrooms, using practical examples from a journalist’s workflow at Les Échos. Covers using D3 for data visualization and Svelte for component-driven interactivity and integration, with code available via the provided GitHub/degit template.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 1:08What is D3.js?
- 2:32Svelte vs D3 syntax
- 3:55Demo overview
- 5:01Setup Svelte component
- 6:07Scales for scatter plot
- 8:15Adjust population scales
- 9:24Draw scatter plot
- 10:27Fix axis scaling
- 10:48Add axes
- 11:31Build line chart
- 11:53Time scale for line
- 12:57Generate line with D3
- 13:59Responsive charts
- 15:07Animate chart entry
- 17:13Animate line chart
- 18:37Summary
