Observable PlotGeographic
PCA Biplot
Principal Component Analysis biplot showing observations and loadings.
Preview placeholder
pca-biplot-v1
Installation
Terminal
npx @ontopic/viz add plot/geo/pca-biplot-v1Props
| Prop | Type | Description |
|---|---|---|
scores | PCAScores[] | PCA scores for observations |
loadings | PCALoadings[] | Variable loadings |
See full TypeScript interface on GitHub for all props.
Usage Example
TypeScript
import { PCABiplot } from '@/viz/components/plot/geo/pca-biplot-v1';Metadata
- Last Updated2025-01-12
- FrameworkObservable Plot
- CategoryGeographic
- Subcategorygeo
Observable Plot Statistical PCA Dimensionality
Dependencies
@observablehq/plot
Quick Install
npx @ontopic/viz add plot/geo/pca-biplot-v1Related Components
recharts
State Bar Chart
Interactive state-level bar chart with sorting and filtering capabilities.
recharts
Sortable State Bar
Sortable state bar with search and expand features for detailed state analysis.
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.