Observable PlotSpecialized
Faceted Plot
Generic faceted visualization wrapper for creating small multiples.
Preview placeholder
faceted-v1
Installation
Terminal
npx @ontopic/viz add plot/generic/faceted-v1Props
| Prop | Type | Description |
|---|---|---|
data | FacetedData[] | Data with faceting variable |
facetBy | string | Column to facet by |
See full TypeScript interface on GitHub for all props.
Usage Example
TypeScript
import { FacetedPlot } from '@/viz/components/plot/generic/faceted-v1';Metadata
- Last Updated2025-01-12
- FrameworkObservable Plot
- CategorySpecialized
- Subcategorygeneric
Observable Plot Specialized Faceted Small Multiples
Dependencies
@observablehq/plot
Quick Install
npx @ontopic/viz add plot/generic/faceted-v1Related Components
plot
Marijuana Opinion Trend
GSS marijuana legalization trends by church attendance and other demographics.
plot
US State Choropleth
US state choropleth map with TopoJSON. Color-encodes values by state with tooltips.
plot
Generic Choropleth
Generic choropleth map component supporting any TopoJSON geography.
plot
Density Map
Density map visualization with geographic boundaries for population or event density.