Gallery / Points & scatter

point

Michelson's five runs and their means

A hundred speed-of-light measurements in the five blocks he ran them in, with each block collapsed to a single point by its mean.

Michelson's five runs and their means

Source

Svelte, builder, JSON

<script lang="ts">
  import {
    GeomPoint,
    GGPlot,
    Labs,
    ScaleColorDiscrete,
    ThemeClassic,
  } from "@ggsvelte/svelte";

  import { michelsonRuns } from "./data.js";
</script>

<GGPlot
  data={michelsonRuns}
  aes={{ x: "order", y: "velocity", color: "run" }}
  width={640}
  height={400}
>
  <ThemeClassic />
  <ScaleColorDiscrete scheme="tableau10" />
  <Labs
    title="Michelson's five runs, and where each settled"
    subtitle="Twenty measurements per run in faint marks; the solid mark is that run's mean"
    x="Measurement, 1 to 100"
    y="Speed of light, km/s less 299,000"
    color="Run"
  />
  <GeomPoint size={2.4} alpha={0.35} />
  <GeomPoint stat="manual" fun="mean" size={6} alpha={0.95} />
</GGPlot>

Meta

Details

Family
Points & scatter
Source
point/stat-manual-mean
Rendering
SVG
Techniques

point · manual · stat · mean · group · theme