Como criar um gráfico de roda de dependência com o editor de configuração de gráfico
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Um diagrama de roda de dependência é semelhante a um diagrama de Sankey, mas mostra o fluxo entre os estados em um círculo, em vez de uma direção linear. No Looker, cada valor de dimensão é representado como um estado, e o tamanho do fluxo é determinado por um valor de medida numérica.
Os diagramas de roda de dependência exigem pelo menos duas dimensões e exatamente uma medição.
Por exemplo, é possível criar um gráfico de roda de dependência que mostra os valores de medida da Contagem de itens do pedido em vários valores de dimensão Coleção sazonal, que fluem para os valores de dimensão Categoria. Cada valor de dimensão é representado por um arco codificado por cores na parte externa do círculo. A largura de uma linha que conecta dois arcos corresponde aos valores da métrica Contagem de itens do pedido para esse par de dimensões. Quanto maior o valor, mais larga é a linha.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-25 UTC."],[],[],null,["# Creating a dependency wheel chart with the Chart Config Editor\n\n| **Note:** Starting in Looker 24.20, the Chart Config Editor supports the creation of dependency wheel charts.\n\nA dependency wheel chart is similar to a [Sankey chart](/looker/docs/best-practices/sankey), but a dependency wheel displays flow between states around a circle rather than in a linear direction. In Looker, each dimension value is represented as a state, and the size of the flow is determined by a numeric measure value.\n\nUsing the [Chart Config Editor](/looker/docs/chart-config-editor), you can create dependency wheel charts by starting from a [column chart](/looker/docs/column-options) in Looker.\n\nDependency wheel charts require at least two dimensions and exactly one measure.\n\nFor example, you can create a dependency wheel chart that shows the **Order Item Count** measure values over several **Seasonal Collection** dimension values, which flow into **Category** dimension values. Each dimension value is represented by a color-coded arc on the outside of the circle. The width of a line connecting two arcs corresponds to the values of the **Order Item Count** measure for that dimension pair. The higher the value, the wider the line.\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 dependency wheel chart, start from the following JSON snippet: \n\n {\n chart: {\n type: 'dependencywheel'\n }\n }\n\nCreating a dependency wheel chart\n---------------------------------\n\nTo create a dependency wheel 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 at least two dimensions and exactly one measure. 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 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\nLimitations and requirements\n----------------------------\n\nWhen you're using dependency wheel charts, keep the following limitations and requirements in mind:\n\n- Dependency wheel charts require at least two dimensions and exactly one measure.\n- Dependency wheel charts can display a maximum of 50 rows of data.\n- Dependency wheel charts don't support pivoted dimensions."]]