Lollipop Chart
Bar-like ranking but cleaner — useful for sparse data.
Rendering…
Make it your own.
{
"$schema":"https://vega.github.io/schema/vega-lite/v5.json",
"data":{"values":[
{"category":"Cancer","value":45},
{"category":"Diabetes","value":38},
{"category":"Heart disease","value":62},
{"category":"Stroke","value":29},
{"category":"Alzheimer's","value":24},
{"category":"COPD","value":33}
]},
"layer":[
{"mark":{"type":"rule","color":"#94a3b8","strokeWidth":2},
"encoding":{"x":{"field":"value","type":"quantitative"},"x2":{"datum":0},"y":{"field":"category","type":"nominal","sort":{"field":"value","order":"descending"}}}},
{"mark":{"type":"circle","color":"#1f47f5","size":160},
"encoding":{"x":{"field":"value","type":"quantitative"},"y":{"field":"category","type":"nominal","sort":{"field":"value","order":"descending"}}}}
],
"width":380,"height":260,"title":"Disability-adjusted life years by condition"
}