137 templates · page 1 of 2
Vega-Lite templates
Grammar of interactive graphics — scatter, line, bar, heatmap, box, violin, density, geo, layered & faceted scientific charts.
Scatter Plot with Regression
Scatter plot with linear regression overlay.
Scientific PlotsHeatmap
Matrix heatmap for correlation or expression data.
Scientific PlotsBox & Whisker
Distribution comparison across groups.
Scientific PlotsViolin / Density
Kernel-density violins for group comparison.
Scientific PlotsHistogram
Binned frequency distribution.
Scientific PlotsDensity Contour
2D density contour estimation.
Scientific PlotsMulti-series Line
Time series with multiple series.
Scientific PlotsBar with Error Bars
Mean with 95% CI error bars.
Scientific PlotsFunction Plot
y = sin(x) and y = cos(x) over [-2π, 2π].
MathematicsReaction Energy Diagram
Potential-energy profile for a reaction with TS.
Chemistry & PhysicsWorld Choropleth
Choropleth using built-in topojson world map.
Geo & SpatialFaceted Small Multiples
Small-multiple faceting: one panel per category, shared axes.
Scientific PlotsInteractive Brush Selection
Drag a rectangle to highlight points — linked-brushing primitive.
Scientific PlotsLayered Marks (line + points + rule)
Composite chart with line + point overlay + reference line in one spec.
Scientific PlotsLollipop Chart
Bar-like ranking but cleaner — useful for sparse data.
Scientific PlotsSlope Chart
Two-period line per series — rank/value change between two time points.
Scientific PlotsTornado / Sensitivity
Decision-analysis sensitivity diagram showing parameter impact in both directions.
Scientific PlotsCalendar Heatmap
Activity per day-of-week × week — habit tracking, deployment cadence, citations.
Scientific PlotsGrouped Bar Chart
Side-by-side bars for two categories across groups.
Scientific PlotsStacked Area
Stacked area chart over time with three series.
Scientific PlotsViolin Plot
Distribution comparison via violins across three groups.
Scientific PlotsCorrelation Heatmap
Symmetric correlation heatmap with diverging colour scale.
Scientific PlotsCustomer Retention Cohorts
Heatmap of retention by signup cohort × month-since-signup.
Data & SchemaTime-Series Decomposition
Original / trend / seasonal / residual stacked panels.
Research & AcademicChoropleth — Vaccination Rate
US-state choropleth template (data is illustrative).
Geo & SpatialBayesian Posterior Update
Prior → likelihood → posterior over a parameter θ.
Research & AcademicSupply & Demand
Classic supply / demand curves with equilibrium point.
MathematicsPlayer Position Heatmap
2D position-density heatmap over a normalised pitch.
Data & SchemaMatch Win-Probability Flow
Win-probability over time, two teams.
Data & SchemaLeague Standings — Slope
Position changes across rounds for the top 5 teams.
Data & SchemaFe-Fe₃C Phase Diagram
Iron-carbon equilibrium diagram with eutectic / eutectoid points.
Chemistry & PhysicsHertzsprung-Russell Diagram
Luminosity vs temperature with main sequence, giants and white dwarfs.
Scientific PlotsAttribution Models Compared
Credit assigned to channels under different attribution models.
Data & SchemaIPA Vowel Chart (subset)
F1/F2 formant scatter for a subset of cardinal vowels.
MathematicsEnergy Mix — Generation by Source
Stacked bar of electricity generation by source across years.
Data & SchemaAS-AD with Supply Shock
Aggregate supply / aggregate demand with a leftward supply shift.
MathematicsConnected Scatter (state path)
Trajectory of two metrics over time with arrows connecting points.
Data & SchemaDumbbell Plot — Before/After
Per-category before/after comparison with connecting lollipops.
Research & AcademicJittered Strip Plot
Individual values per group with horizontal jitter — see distribution + outliers.
Scientific PlotsGlacier Mass Balance
Annual mass balance across elevation — equilibrium line where net = 0.
Geo & SpatialLinear Program — Feasible Region
Two-variable LP feasible region with the optimal vertex highlighted.
MathematicsRoot Locus Sketch
Closed-loop pole trajectory as gain K varies — illustrative dataset.
MathematicsF1 Lap Telemetry
Throttle and speed traces around one qualifying lap.
Data & SchemaExternalities — Negative Production
Private vs social cost showing deadweight loss from negative externality.
MathematicsPCR Thermal Cycling
Temperature profile across PCR cycles — denature / anneal / extend.
Life SciencesMarathon Pacing Strategy
Negative-split target pace per 5K segment.
Data & SchemaSwim Relay Splits
Four 50m splits across a 4×50m relay with leg ordering.
Data & SchemaVega-Lite — AOV trend (monthly)
Line chart of monthly average order value.
Scientific PlotsVega-Lite — conversion funnel
Stacked bar showing conversion across funnel steps.
Business & StrategyVega-Lite — retention cohort heatmap
Cohort retention rectangle heatmap.
Data & SchemaVega-Lite — A/B test lift
Bar with error bars for A/B test means.
Data & SchemaVega-Lite — ARR composition stack
Stacked area chart of new / expansion / churn ARR.
Business & StrategySurvey Results (Bar Chart)
A simple categorical bar chart — swap in your own values.
Scientific PlotsMonthly Active Users (Line Chart)
A time-series line chart with points.
Scientific PlotsActivity Heatmap (Vega-Lite)
A day-by-hour activity heatmap.
Scientific PlotsStacked Area Chart (Vega-Lite)
Composition over time as a stacked area chart.
Scientific PlotsThroughput Run Chart (Vega-Lite)
Completed work orders per shift with the median as a reference line, so a run of eight points on one side reads as a real shift.
Lean & FlowPackaging Defect Pareto (Vega-Lite)
Defect counts as bars with a cumulative percentage line, where the top three codes account for 79 percent of 380 defects.
Lean & FlowMidnight Bed Occupancy by Ward (Vega-Lite)
A week of midnight occupied beds stacked by ward, showing the Monday and Tuesday peak that drives escalation-area opening.
Operations & OpsOn-Time In-Full by Carrier (Vega-Lite)
Ninety days of OTIF by carrier with bars turning red below the 92 percent contractual floor that triggers a service review.
Operations & OpsRisk Register Heat Matrix (Vega-Lite)
Counts of open risks in each likelihood by impact cell, coloured by the product score so the board sees where the register clusters.
Risk & ReliabilityNear-Miss Reporting Trend (Vega-Lite)
Six months of near-miss reports at a surface mine stacked by potential severity, where rising volume with falling severity is the good news.
Risk & ReliabilityToken Spend by Workload (Vega-Lite)
Monthly inference spend stacked by workload, showing batch summarisation overtaking interactive chat once it moved to a larger model.
AI & PipelinesModel Accuracy versus Cost (Vega-Lite)
Candidate serving configurations plotted on a log cost axis against exact-match accuracy, with the routed setup sitting on the frontier.
AI & PipelinesARR Bridge (Vega-Lite)
Opening to closing annual recurring revenue broken into new, expansion, uplift, downgrade and churn, giving 99.8 percent net retention.
Business & StrategyPhysics — Chart: Energy Mix
A bar chart of electricity generation by source.
Scientific PlotsChemistry — Chart: Elemental Abundance
Abundance of elements in Earth's crust.
Scientific PlotsChemistry — Chart: pH of Common Foods
Approximate pH values of everyday substances.
Scientific PlotsBiology — Chart: Population Age Structure
A simple age-distribution bar chart.
Scientific PlotsMath — Chart: Histogram
A frequency histogram of binned measurements.
Scientific PlotsChemistry — Chart: Rate by Condition
Relative reaction rate under different conditions.
Scientific PlotsBiology — Chart: Blood Composition
Proportions of the components of blood.
Scientific PlotsMath — Chart: Frequency Polygon
A frequency polygon over class midpoints.
Scientific PlotsChemistry — Chart: Bond Energies
Average bond enthalpies of common bonds.
Scientific PlotsBiology — Chart: Energy in Nutrients
Energy density of the macronutrients.
Scientific PlotsPhysics — Chart: EM Spectrum Wavelengths
Approximate wavelengths of the EM bands (log scale).
Scientific PlotsMath — Chart: Cumulative Frequency
A cumulative frequency curve (ogive).
Scientific PlotsChemistry — Chart: Period 3 Melting Points
Melting points of the period-3 elements.
Scientific PlotsBiology — Chart: Atmospheric Gases
Composition of dry air.
Scientific PlotsPhysics — Chart: Material Densities
Densities of common materials (log scale).
Scientific PlotsMath — Chart: Grouped Bar (Two Series)
Comparing two data series across categories.
Scientific PlotsChemistry — Chart: Salt Solubilities
Solubility of common salts at 25 C.
Scientific PlotsBiology — Chart: Enzyme Activity vs pH
Optimum-pH curves for two enzymes.
Scientific PlotsPhysics — Chart: Coefficients of Friction
Typical coefficients of friction for surface pairs.
Scientific PlotsMath — Chart: Box Plot
A box-and-whisker plot of a small data set.
Scientific PlotsChemistry — Chart: Isotopic Abundance
Natural abundance of selected isotopes.
Scientific PlotsPhysics — Chart: Particle Masses
Rest masses of subatomic particles (log scale).
Scientific PlotsBiology — Chart: Genome Sizes
Genome sizes across organisms (log scale).
Scientific PlotsChemistry — Chart: Bond Lengths
Typical covalent bond lengths.
Scientific PlotsPhysics — Chart: Planet Orbital Periods
Orbital period of each planet (log scale, years).
Scientific PlotsChemistry — Chart: Acid Strength (Ka)
Acid dissociation constants on a log scale.
Scientific PlotsChemistry — Chart: Reactivity Series
Relative reactivity of common metals.
Scientific PlotsBiology — Chart: Energy by Trophic Level
Energy falling ~10× per trophic level (log scale).
Scientific PlotsPhysics — Chart: Resistivity of Materials
Resistivity across conductors, semiconductors and insulators.
Scientific PlotsMath — Chart: Pie Chart
Proportions of a whole as a pie chart.
Scientific PlotsChemistry — Chart: Successive Ionisation Energies
Big jumps reveal electron shells (log scale).
Scientific PlotsBiology — Chart: Sizes of Cells
Biological sizes spanning many orders of magnitude (log).
Scientific PlotsPhysics — Chart: Speed of Sound
Speed of sound in different media.
Scientific PlotsMath — Chart: Stacked Bar
Stacked composition across categories.
Scientific PlotsEarth Science — Chart: World Energy Mix
Share of world primary energy by source.
Scientific Plots