D3 - API
List
- d3.append: insert an element
- d3.attr: changes the attribute of an element (size, position, ..)
- d3.json: load a data file and return an array of javascript object
- d3.nest: groups data based on particular keys and return an array of object (JSON)
- d3.layout: applies common transformations based on predefined chart options
- d3.scale: convert data to a pixel of color value that can be displayed
Module
In d3 version 4, d3 becomes modular
d3 is a bundle of all this module
All d3 dependencies
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]