01
Demo default
Static package
Import Plotly.js from npm and provide it directly. This is the simplest, most reproducible option and is what this demo runs.
- Best for
- Most applications
- Network at runtime
- None
Bundle strategy
Use exactly one integration module. The right option depends on whether your application prioritizes simple bundling, bundle size, or control over script delivery.
Important
Each strategy provides the same Plotly service contract. Configure only one in an application and pin the Plotly.js version for reproducible behavior.