Skip to content
Vega-Lite templates

Chemistry — Chart: Bond Energies

Average bond enthalpies of common bonds.

Template previewVega-Lite
Rendering…

Make it your own.

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "Average bond enthalpies",
  "data": {"values": [
    {"bond": "C-C", "energy": 348},
    {"bond": "C=C", "energy": 612},
    {"bond": "C#C", "energy": 837},
    {"bond": "C-H", "energy": 412},
    {"bond": "O-H", "energy": 463},
    {"bond": "O=O", "energy": 498},
    {"bond": "N#N", "energy": 945}
  ]},
  "mark": "bar",
  "encoding": {
    "x": {"field": "bond", "type": "nominal", "sort": "-y", "title": "Bond"},
    "y": {"field": "energy", "type": "quantitative", "title": "bond energy (kJ/mol)"},
    "color": {"field": "bond", "type": "nominal", "legend": null}
  }
}