Export Image
Export Code

MasteringD3-Resusable-ProD3js-2.4.3

JimMaltby

Last edited Dec 22, 2021
Created on Dec 22, 2021

Exploration of layouts example, from Chapter 2 of Mastering D3.

Expanded to show each chart across the page horizonatlly

Exapnded to: - apply closeInterval() to intervaled change. - iterate through the data, adding each new dataset with each interval (funky use of looping/ filtering/ mapping etc.)

  • to finish adjust udpate to accept different dataset format

It is derived from Mike Bostock's Towards Reusable Charts (https://bost.ocks.org/mike/chart/) as the source of the foundational principles.

Using the ProD3 pattern (Pro D3.js Use D3.js to Create Maintainable, Modular, and Testable Charts by Marcos Iglesias https://www.apress.com/gp/book/9781484252024) as the basis for charts pattern.

MIT Licensed