d3

A namespace defined by the D3.js library. The d3.chart API is defined within this namespace.

Source

Classes

selection

Methods

<static> chart ( name, protoProps, staticProps )

Create a new chart constructor or return a previously-created chart constructor.

You can edit the code in this block and rerun it.

Parameters

  • name String required

    If no other arguments are specified, return the previously-created chart with this name.

  • protoProps Object required

    If specified, this value will be forwarded to Chart.extend and used to create a new chart.

  • staticProps Object required

    If specified, this value will be forwarded to Chart.extend and used to create a new chart.

Source