Chart

Purpose

On The Stack Report platform, charts are visualisations of data serve to discover as well as communicate insights.

Resource description

Attributes:

  • Dataset key

  • name

  • slug

  • description

  • rich_description

  • Dataset url

  • x key

  • x type

  • columns

  • type

  • color

  • height

  • tooltip columns descriptions

  • badges legend

  • badges legend text

  • y axis tick label

  • y scale type

Implementation

Within the front-end, charts are a re-usable module that can be configured in the chart catalog, programmatically included in pages but also embedded in articles using a markdown format.

Charts are defined in two modes: Custom chart and Model chart.

Custom charts are configurable in the CMS.

Model charts are defined by entities traced from data sources. They are one of the building blocks for the creation of the data space.

Chart embedding in articles

Both chart modes can be embedded in articles through a custom HTML dom element.

Last updated