This documentation targets the API shipped with Pentaho 8.1. Click here for the updated version shipped with Pentaho 8.3.
Bar/D3 Visualization in Sandbox
This walk-through will guide you through the development of a simple Bar chart visualization, using the Pentaho Visualization API and the amazing D3 graphics library.
The complete code of this sample is available at pentaho/pentaho-engineering-samples.
Prerequisites
- Basic JavaScript knowledge
- Basic D3 knowledge
- An npm registry compatible package manager like npm or yarn.
Steps
This walk-through is divided in the following steps:
- Preparing the environment
- Creating the model
- Creating the view
- Styling the view
- Styling the model for applications
- Adding interactivity to the view
- Adding a default configuration
- Next steps
Start with Preparing the environment.