Creating a bullet chart with the Chart Config Editor
Stay organized with collectionsSave and categorize content based on your preferences.
Bullet charts are useful for showing performance against a target, or progress on a goal.
Using theChart Config Editor, you can create bullet charts by starting from a bar chart in Looker.
For example, the following bullet chart compares theNew Customers Countmeasure, represented by a blue progress bar, to a target value of 40, represented by a blue vertical line. The chart also indicates progress buckets between 0 and 20, between 20 and 40, and between 40 and 80, each represented by a different shade of grey.
ThexAxis.categoriesattribute overwrites the label of the X-axis. In this example, the X-axis label should be the measure nameNew Customers.
TheyAxis.plotBandsattribute specifies the background color of the chart for certain values. In this example, the background color is dark grey (#666666) between 0 and 20, medium grey (#999999) between 20 and 40, and light grey (#bbbbbb) between 40 and 80.
Theseries.data.targetattribute specifies the target value for the bullet chart, which will appear as a vertical line. In this example, the target is 40.
Creating a bullet chart
To create a bullet chart, follow these steps:
View abar chartin an Explore, or edit a bar chart in a Look or dashboard.
For this example, we recommend starting from a bar chart with one dimension and one measure, with a limit of one row. Your starting chart might look something like this example:
Select theChart Config (Override)section, and enter the HighCharts JSON from theWriting the JSON snippetsection of this page.
To allow Looker to properly format your JSON, click<> (Format code).
To test your changes, clickPreview.
To apply your changes, clickApply. The visualization will be displayed using the custom JSON values.
Once you've customized your visualization, you can save it. If you viewed the visualization in an Explore,save the Explore. If you edited a Look or a dashboard, clickSave.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Creating a bullet chart with the Chart Config Editor\n\n| **Note:** Starting in Looker 24.4, the Chart Config Editor supports the creation of bullet charts.\n\nBullet charts are useful for showing performance against a target, or progress on a goal.\n\nUsing the [Chart Config Editor](/looker/docs/chart-config-editor), you can create bullet charts by starting from a bar chart in Looker.\n\nFor example, the following bullet chart compares the **New Customers Count** measure, represented by a blue progress bar, to a target value of 40, represented by a blue vertical line. The chart also indicates progress buckets between 0 and 20, between 20 and 40, and between 40 and 80, each represented by a different shade of grey.\n\nPrerequisites\n-------------\n\nTo access the Chart Config Editor, you must have the [`can_override_vis_config` permission](/looker/docs/admin-panel-users-roles#can_override_vis_config).\n\n### Writing the JSON snippet\n\nTo create a bullet chart, start from the following JSON snippet: \n\n {\n chart: {\n type: 'bullet'\n },\n xAxis: {\n categories: ['New Customers']\n },\n yAxis: {\n plotBands: [{\n from: 0,\n to: 20,\n color: '#666666'\n }, {\n from: 20,\n to: 40,\n color: '#999999'\n }, {\n from: 40,\n to: 80,\n color: '#bbbbbb'\n }],\n },\n series: [{\n data: [{\n target: 40\n }]\n }],\n }\n\nChange the following values to fit your use case:\n\n- The `xAxis.categories` attribute overwrites the label of the X-axis. In this example, the X-axis label should be the measure name **New Customers**.\n- The `yAxis.plotBands` attribute specifies the background color of the chart for certain values. In this example, the background color is dark grey (`#666666`) between 0 and 20, medium grey (`#999999`) between 20 and 40, and light grey (`#bbbbbb`) between 40 and 80.\n- The `series.data.target` attribute specifies the target value for the bullet chart, which will appear as a vertical line. In this example, the target is 40.\n\n### Creating a bullet chart\n\nTo create a bullet chart, follow these steps:\n\n1. View a [bar chart](/looker/docs/bar-options) in an Explore, or edit a bar chart in a Look or dashboard.\n\n For this example, we recommend starting from a bar chart with one dimension and one measure, with a limit of one row. Your starting chart might look something like this example:\n\n2. Open the **Edit** menu in the visualization.\n\n3. In the **Plot** tab, click the **Edit Chart Config** button. Looker displays the **Edit Chart Config** dialog.\n\n4. Select the **Chart Config (Override)** section, and enter the HighCharts JSON from the [Writing the JSON snippet](#json) section of this page.\n\n5. To allow Looker to properly format your JSON, click **\\\u003c\\\u003e (Format code)**.\n\n6. To test your changes, click **Preview**.\n\n7. To apply your changes, click **Apply**. The visualization will be displayed using the custom JSON values.\n\nOnce you've customized your visualization, you can save it. If you viewed the visualization in an Explore, [save the Explore](/looker/docs/viewing-and-interacting-with-explores#the_explore_actions_gear_menu). If you edited a Look or a dashboard, click **Save**."]]