Skip to content
Vega-Lite templates

Physics — Chart: Coefficients of Friction

Typical coefficients of friction for surface pairs.

Template previewVega-Lite
0.00.10.20.30.40.50.60.70.80.9coefficient of frictionRubber on concreteSteel on steelWood on woodTeflon on steelIce on iceSurfaces

What this template contains

Marks
bar
Encodes
y, x, color
Source
17 lines

Make it your own.

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "Coefficient of friction by surface pair",
  "data": {"values": [
    {"pair": "Ice on ice", "mu": 0.03},
    {"pair": "Steel on steel", "mu": 0.6},
    {"pair": "Wood on wood", "mu": 0.4},
    {"pair": "Rubber on concrete", "mu": 0.9},
    {"pair": "Teflon on steel", "mu": 0.04}
  ]},
  "mark": "bar",
  "encoding": {
    "y": {"field": "pair", "type": "nominal", "sort": "-x", "title": "Surfaces"},
    "x": {"field": "mu", "type": "quantitative", "title": "coefficient of friction"},
    "color": {"field": "pair", "type": "nominal", "legend": null}
  }
}