A Linear Gauge displays a value along a straight axis and works well for ranking comparisons when multiple pointers are arranged in parallel. AnyChart JS supports LED and bar pointer combinations on a shared scale for precise data representation.
This sample ranks the 10 most populous cities in the world, from Shanghai (over 24 million) to Mumbai (about 12.4 million), using data from Wikipedia. Each city gets an LED pointer that rounds to the nearest million and a thin bar pointer for the exact population. Hovering highlights the city label and triggers a tooltip showing the city name, country, and population count.
Follow the step-by-step Linear Gauge Tutorial to learn how such charts are built. See the Linear Gauge documentation for all configuration options.