Skip to content
Vega-Lite templates

Physics — Chart: Coefficients of Friction

Typical coefficients of friction for surface pairs.

Template previewVega-Lite
Rendering…

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}
  }
}