Follow ______ on twitter.

2.4.4 Facilitates Data Presentation

Code

Vega-Lite Chart

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "Bar chart comparing risk levels across different departments.",
  "width": 200,
  "data": {
    "values": [
      {
        "component": "Finance",
        "value": 70
      },
      {
        "component": "HR",
        "value": 30
      },
      {
        "component": "IT",
        "value": 50
      },
      {
        "component": "Operations",
        "value": 90
      }
    ]
  },
  "mark": {
    "type": "bar",
    "size": 50
  },
  "encoding": {
    "x": {
      "field": "component",
      "type": "nominal",
      "axis": {
        "title": "Departments"
      }
    },
    "y": {
      "field": "value",
      "type": "quantitative",
      "axis": {
        "title": "Risk Level (%)"
      }
    },
    "color": {
      "field": "component",
      "type": "nominal",
      "legend": null
    }
  }
}