Flourish for developers
  • Flourish SDK
  • Flourish Live API
  • Embedding guide
  • Help

›Flourish Live API

Flourish Live API

  • Introduction to Flourish Live API
  • Getting started with the Live API
  • Creating a visualization
  • Replicating a visualization
  • Using the Flourish API in Python or R
  • Using a control sheet
  • Examples
  • Changelog

Examples

Note: the Flourish API is an enterprise-level bolt-on and not available to all customers.

Simple API example

This simple example uses d3-fetch to pull in data from a CSV file before rendering it in a Flourish template.

  • Find the code here

Flourish story API example

This example replicates the story player behavior and functionality, adding navigation buttons, a slide count and captions, and featuring smooth transitions between slides

  • Find the code here

Base visualization simple example

Demonstrates how to use the published visualization endpoint to directly replicate a visualization made in the app with the API.

  • Find the code here

Base visualization with overrides example

Demonstrates how to use the published visualization endpoint to replicate a visualization made in the app with the API, while overriding its data, bindings, and some settings.

  • Find the code here

Sourcing data from a database

This example shows how to fetch data from a database, and use that data to generate visualizations using the Flourish Live API. It also demonstrates how to keep your API key secret by proxying requests to the Live API through your own server.

  • Find the code here

R/Shiny example

This is an example of how to connect the Flourish API to R's Shiny package

  • Find the code here

Control sheet example

This example demonstrates the use of a control sheet. This makes it possible to control the contents of a visualization without needing to code.

  • Find the code here
Last updated on 27/08/2024
← Using a control sheetChangelog →
Copyright © 2025 Flourish