Please log in to watch this conference skillscast.
When Marcos first started out with D3.js three years ago, he built things the same way, customising examples and although worked, he was never proud of his code. The chaining of methods makes the graphs concise, but costs a lot in cognitive overload and maintainability. Building this way is painful to modify, reuse or even to understand once you sit back down after lunch
Marcos had a huge revelation when he discovered the Reusable API (a modular structure to create and reuse d3 elements) and his code was elevated to even higher levels with Test Driven Development.
Join Marcos in this session as he walks you through his journey toward beautiful, maintainable D3 graphs with step by step examples of refactoring crufty code to be shiny and new and testable.
By the end of the talk you too will know how to build decoupled, composable, encapsulated and consistent D3 graphs and be proud of your code again!
YOU MAY ALSO LIKE:
- Performance Budgets: The What, Why And How (SkillsCast recorded in July 2018)
- Crafting Code with Sandro Mancuso (Online Course on 13th - 14th May 2021)
- Keynote: Is DevOps Still Relevant In A Cloud Native World? (Enterprise Edition) (SkillsCast recorded in September 2019)
- TDD and the Terminator - A Guide to Better Test Driven Development (SkillsCast recorded in September 2019)
Better D3 charts with TDD - Intermediate
Marcos Iglesias is a Senior Software Engineer who builds compelling user interfaces at Eventbrite. Marcos is passionate about improving web performance, setting performance budgets and tracking them because "web performance matters!" On top of all that, he enjoys writing about software, giving talks and maintaining Britecharts, the open source charting library.