@looker/visualizations-visx
v1.0.3
Published
This package contains the Looker visualizations that are built on top of [Airbnb's visx](https://airbnb.io/visx/) charting primitives. As Looker Visualization Components are designed to be library agnostic, in the long term we will support multiple variat
Downloads
1,236
Maintainers
Keywords
Readme
@looker/visualizations-visx
This package contains the Looker visualizations that are built on top of Airbnb's visx charting primitives. As Looker Visualization Components are designed to be library agnostic, in the long term we will support multiple variations of our core visualizations depending on library preference.
Installation
If you are working with Looker Visualizations Components, you will likely not need to reference the this package directly. But if you would like to import any of our Visx charts to extend or use outside of the context you can install them with npm or Yarn:
- npm:
npm install @looker/visualizations-visx
- Yarn:
yarn add @looker/visualizations-visx
You'll also need to satisfy a few peer dependencies - Looker/components, React, & Styled Components:
- npm:
npm install @looker/components react react-dom styled-components
- Yarn:
yarn add @looker/components react react-dom styled-components
Getting Started
import { Area, Line, Scatter, Sparkline } from '@looker/visualizations-visx'
Please see the documentation for @looker/visualizations for instructions on getting started with Looker Visualization Components. After that, be sure to check out the Looker Developer Portal to see more configuration options, or view the extension framework documentation for more advanced usage.