This talk explores a different approach to building charts with D3 that follows the existing patterns of components and data-joins and adds some new ones too. We’ll also look at some funky ideas along the way such as using Flexbox for styling SVGs, and new patterns.
Most charts are monoliths; the more features they provide, the more expansive and complex their APIs become. D3 has for a long time provided a different perspective. Rather than a complex charting-specific API, it is a low-level toolkit, ideal for creating data-driven visualisations. However, that low-level nature can mean that simple chart construction becomes a complex task.
There are a number of charting libraries built around D3, but by wrapping D3 they lose its awesome power and start travelling down the ‘monolith’ route once again.There must be a better way!
YOU MAY ALSO LIKE:
- WebAssembly Deep Dive with Brian Sletten (in London on 21st - 22nd November 2019)
- Solandra Hands-On Tutorial & Emergent Behaviour In Insects (in London on 28th October 2019)
- Free Code Camp - October (in London on 29th October 2019)
- RS232 Board for the Pi (SkillsCast recorded in September 2019)
From monoliths to components with D3
Colin's business card says 'Technology Director' and he works at a UK-based software consultancy, however, he thinks of himself as a technology enthusiast. Colin has been working in software for many years, and has never stopped exploring, learning and creating. He writes a lot, speak a lot and code a lot. He likes telling stories, he likes his presentations to have a narrative. He likes people to feel educated, but more than anything else, he wants them to just enjoy it and have fun.