[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,["# Creating a sunburst chart with the Chart Config Editor\n\n| **Note:** Starting in Looker 24.16, the Chart Config Editor supports the creation of sunburst charts.\n\nA sunburst chart displays hierarchical data as a set of concentric rings, where the size of each ring slice is determined by a numeric measure.\n\nUsing the [Chart Config Editor](/looker/docs/chart-config-editor), you can create sunburst charts by starting from a [column chart](/looker/docs/column-options) in Looker. For best results, use at least two unpivoted dimensions and exactly one numeric measure to create a sunburst chart.\n\nFor example, you can create a sunburst chart that shows the **Orders Count** measure, broken down by the **Users Country** , **Users State** , and **Users City** dimensions. The size of each ring slice corresponds to the **Orders Count** .\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\nWriting the JSON snippet\n------------------------\n\nTo create a sunburst chart, start from the following JSON snippet: \n\n {\n chart: {\n type: 'sunburst',\n }\n }\n\nCreating a sunburst chart\n-------------------------\n\nTo create a sunburst chart, follow these steps:\n\n1. View a [column chart](/looker/docs/column-options) in an Explore, or edit a column chart in a Look or dashboard.\n\n Start from a column chart with two or more unpivoted dimensions and exactly one numeric measure. Make sure to order the dimensions from least granular to most granular. Your starting chart might look like a column chart plotting a single measure, with a concatenation of dimension values for each x-axis value.\n\n | **Note:** Even though this example is sorted by each dimension for clarity, sorting is not required and does not affect the sunburst chart.\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 let Looker 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.\n\nDrilling into the data\n----------------------\n\nSunburst charts support the following drill actions:\n\n- To drill into one dimension value, click the corresponding ring slice.\n- To go back one level, click the center of the sunburst chart.\n- To go back one or more levels, use the breadcrumb navigation at the top left of the chart."]]