Skip to content
Vega-Lite templates

Physics — Chart: Resistivity of Materials

Resistivity across conductors, semiconductors and insulators.

Template previewVega-Lite
Rendering…

Make it your own.

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "Resistivity (ohm-metre, log)",
  "data": {"values": [
    {"material": "Silver", "rho": 0.000000016},
    {"material": "Copper", "rho": 0.000000017},
    {"material": "Aluminium", "rho": 0.000000028},
    {"material": "Silicon", "rho": 640},
    {"material": "Glass", "rho": 1000000000000},
    {"material": "Rubber", "rho": 100000000000000}
  ]},
  "mark": "bar",
  "encoding": {
    "y": {"field": "material", "type": "nominal", "sort": "x", "title": "Material"},
    "x": {"field": "rho", "type": "quantitative", "scale": {"type": "log"}, "title": "resistivity (ohm m, log)"},
    "color": {"field": "material", "type": "nominal", "legend": null}
  }
}