WOLFRAM

SectorChart[{{x1,y1},{x1,y2},}]

makes a sector chart with sector angles proportional to xi and radii yi.

SectorChart[{,wi[{xi,yi},],,wj[{xj,yj},],}]

makes a sector chart with sector features defined by the symbolic wrappers wk.

SectorChart[{data1,data2,}]

makes a sector chart from multiple datasets datai.

Details and Options

Examples

open allclose all

Basic Examples  (5)Summary of the most common use cases

A sector chart with the second component representing the radial size:

Out[1]=1

An annular sector chart:

Out[1]=1

Multiple datasets:

Out[1]=1

Show multiple sets as a row of sector charts:

Out[2]=2

Use categorical labels:

Out[1]=1

Categorical legends:

Out[2]=2

Set the style for sectors:

Out[1]=1

Scope  (39)Survey of the scope of standard use cases

Data and Layouts  (13)

Items in a dataset are grouped together:

Out[1]=1

Datasets do not need to have the same number of items:

Out[1]=1

Nonreal data is taken to be missing and typically is ignored in the pie chart:

Out[1]=1

The data may include units:

Out[1]=1

The time stamps in TimeSeries, EventSeries, and TemporalData are ignored:

Out[1]=1

The values in associations are taken as the values of the sectors:

Out[1]=1

Use the keys as labels:

Out[2]=2

Use the keys as callouts:

Out[3]=3

Use the keys as legends:

Out[4]=4

Associations can be nested:

Out[1]=1

The weights in WeightedData are ignored:

Out[1]=1

Use different layouts to display multiple datasets:

Out[1]=1

Use a row of sector charts:

Out[1]=1

Use a column of sector charts:

Out[2]=2

Multiple rows or columns:

Out[3]=3

Control the direction of sectors:

Out[1]=1

Control the starting angle of sectors:

Out[2]=2

Control the starting radius of sectors:

Out[1]=1

Adjust the spacing between sectors and groups of sectors:

Out[1]=1

Tabular Data  (1)

Get tabular data:

Out[1]=1

Compare the average price of each group of cars with the number of cars:

Out[2]=2

Wrappers  (4)

Use wrappers on individual data, datasets, or collections of datasets:

Out[2]=2

Wrappers can be nested:

Out[3]=3

Override the default tooltips:

Out[1]=1

Use any object in the tooltip:

Out[2]=2

Use PopupWindow to provide additional dropdown information:

Out[1]=1

Button can be used to trigger any action:

Out[1]=1

Styling and Appearance  (9)

Use an explicit list of styles for the sectors:

Out[1]=1

Use any gradient or indexed color schemes from ColorData:

Out[1]=1

Use color schemes designed for charting:

Out[1]=1
Out[3]=3

Use themes to control the overall appearance:

Out[1]=1

ChartBaseStyle can be used to set an initial style for all chart elements:

Out[1]=1

Style can be used to override styles:

Out[1]=1

Use built-in programmatically generated sectors:

Out[1]=1
Out[2]=2

For detailed settings, use Palettes ChartElementSchemes:

Out[1]=1

Use a theme with dark background and bezel sectors:

Out[1]=1

Use a monochrome theme:

Out[2]=2

Labeling and Legending  (12)

Use Labeled to add a label to a sector:

Out[1]=1

Use symbolic positions for label placement:

Out[1]=1
Out[2]=2
Out[3]=3

Provide categorical labels for the columns of data:

Out[1]=1

For rows of data:

Out[2]=2

For both:

Out[3]=3

Use Placed to control the positioning of labels, using the same positions as for Labeled:

Out[1]=1

Use Callout to add a label to a sector:

Out[1]=1

Change the appearance of the callout:

Out[1]=1

Automatically position callouts:

Out[1]=1

Provide value labels for sectors by using LabelingFunction:

Out[1]=1

Generate callouts from the data:

Out[1]=1

Add categorical legend entries for the columns of data:

Out[1]=1

For rows of data:

Out[2]=2

Use Legended to add additional legend entries:

Out[1]=1

Use Placed to affect the positioning of legends:

Out[1]=1

Options  (56)Common values & functionality for each option

ChartBaseStyle  (5)

Use ChartBaseStyle to style all sectors:

Out[1]=1

ChartBaseStyle combines with ChartStyle:

Out[1]=1

ChartStyle may override settings for ChartBaseStyle:

Out[1]=1

ChartBaseStyle combines with Style:

Out[1]=1

Style may override settings for ChartBaseStyle:

Out[2]=2

ChartBaseStyle combines with ColorFunction:

Out[1]=1

ColorFunction may override settings for ChartBaseStyle:

Out[2]=2

ChartElementFunction  (5)

Get a list of built-in settings for ChartElementFunction:

Out[1]=1

For detailed settings, use Palettes ChartElementSchemes:

Out[1]=1
Out[2]=2
Out[3]=3
Out[4]=4

Use ChartElementData to specify the same chart element rendering function as above:

Out[1]=1

Write a custom ChartElementFunction:

Out[2]=2
Out[4]=4

Use metadata passed on from the input, in this case charting the data:

Out[3]=3

ChartLabels  (8)

By default, labels are placed in the center:

Out[1]=1

Labeled wrappers in data will place additional labels:

Out[2]=2

Use Placed to control label placement:

Out[1]=1

Positions outside the sector:

Out[2]=2

Callout positions:

Out[3]=3

Coordinate-based placement relative to a sector:

Out[1]=1

Place all labels at the first outer corner and vary the coordinates within the label:

Out[1]=1

Use the third argument to Placed to control formatting:

Out[1]=1
Out[2]=2

Use a hyperlink label:

Out[3]=3

By default, labels are associated with columns of data:

Out[2]=2

Associate labels with rows or datasets:

Out[3]=3

Label both rows and columns:

Out[4]=4

Use Placed to affect placements:

Out[5]=5

Use Callout to connect the labels to the sectors:

Out[1]=1

Place multiple labels:

Out[1]=1

ChartLayout  (4)

ChartLayout is grouped by default in concentric rings:

Out[2]=2

Use stacked sectors:

Out[2]=2

The stacked layout can display many datasets:

Out[3]=3

Place each of the sectors in a separate panel using shared scales:

Out[1]=1

Use a row instead of a column:

Out[2]=2

Use multiple columns or rows:

Out[1]=1

Prefer full columns or rows:

Out[2]=2

ChartLegends  (4)

Generate a legend based on chart style:

Out[1]=1

Use Legended to add additional legend entries:

Out[1]=1

Or to specify individual legend entries:

Out[2]=2

Generate a legend for datasets:

Out[2]=2

Unused legend labels are dropped:

Out[3]=3

Legends can be applied to several dimensions:

Out[4]=4

Use Placed to control the placement of legends:

Out[2]=2

ChartStyle  (6)

Use ChartStyle to style sectors:

Out[1]=1

Give a list of styles:

Out[1]=1

Use "Gradient" colors from ColorData:

Out[2]=2

Use "Indexed" colors from ColorData:

Out[3]=3

Styles are used cyclically:

Out[1]=1

Style each column of data:

Out[2]=2

Style each row of data:

Out[3]=3

Style both rows and columns of data:

Out[4]=4

With both row and column styles the last style may override earlier ones:

Out[5]=5

Style overrides settings for ChartStyle:

Out[1]=1
Out[2]=2

ColorFunction overrides settings for ChartStyle:

Out[1]=1
Out[2]=2

ColorFunction  (4)

Color by sector angle:

Out[1]=1

Use ColorFunctionScaling->False to get unscaled angular values:

Out[1]=1

Color by area:

Out[2]=2

ColorFunction overrides styles in ChartStyle:

Out[1]=1

Use ColorFunction to combine different style effects:

Out[1]=1

ColorFunctionScaling  (2)

Use ColorFunctionScaling->False to get unscaled height values:

Out[1]=1

Color by area:

Out[1]=1

ImageSize  (7)

Use named sizes, such as Tiny, Small, Medium and Large:

Out[1]=1

Specify the width of the plot:

Out[1]=1

Specify the height of the plot:

Out[2]=2

Allow the width and height to be up to a certain size:

Out[1]=1

Specify the width and height for a graphic, padding with space if necessary:

Out[1]=1

Use maximum sizes for the width and height:

Out[1]=1

Use ImageSizeFull to fill the available space in an object:

Out[2]=2

Specify the image size as a fraction of the available space:

Out[1]=1

LabelingFunction  (8)

Use automatic labeling by values through Tooltip and StatusArea:

Out[1]=1

Do no labeling:

Out[1]=1

Use Placed to control label placement:

Out[1]=1

Symbolic positions outside the sector:

Out[1]=1

Positions for callout labels:

Out[2]=2

Coordinate-based placement relative to a bar:

Out[1]=1

Use Callout to place labels automatically:

Out[1]=1

Control the formatting of labels:

Out[1]=1

Use the given chart labels as arguments to the labeling function:

Out[2]=2

LabelingSize  (3)

Textual labels are shown at their actual sizes:

Out[2]=2

Image labels are automatically resized:

Out[1]=1

Specify a maximum size for textual labels:

Out[1]=1

Specify a maximum size for image labels:

Applications  (7)Sample problems that can be solved with this function

Generate a sector graph:

Out[2]=2

Generate a vector graph:

Out[2]=2

Generate a circular column graph:

Out[2]=2

Click on the sectors to hear the name of the country, its GDP per capita, and population:

Out[3]=3

Create a radar graph of nutritional content:

Out[5]=5

Visualizing GDP per capita:

Add a fancy Tooltip label for each sector:

Out[3]=3

Wind direction from WeatherData ranges from 0° to 360°:

Out[1]=1
Out[2]=2

Get wind direction data for Willard Airport (CMI) in Champaign, Illinois:

Remove missing data:

Define a chart element function that stores bin width and count data using Sow:

Create a histogram of the wind directions, and store the bin width and frequencies:

Out[7]=7

Create a polar histogram of the wind direction frequencies:

Out[8]=8

Properties & Relations  (4)Properties of the function, and connections to other functions

SectorChart is a generalization of PieChart:

Out[1]=1

Use SectorChart3D to render sectors in 3D:

Out[1]=1

Use RectangleChart to render pairs as bars:

Out[1]=1

Use ListPlot and ListLinePlot to produce line graphs from pairs of numbers:

Out[1]=1

Neat Examples  (3)Surprising or curious use cases

Detailed chart using ticks:

Out[1]=1

Detailed chart using grid lines:

Out[1]=1

Here is some chart work:

Out[1]=1
Wolfram Research (2008), SectorChart, Wolfram Language function, https://reference.wolfram.com/language/ref/SectorChart.html (updated 2025).
Wolfram Research (2008), SectorChart, Wolfram Language function, https://reference.wolfram.com/language/ref/SectorChart.html (updated 2025).

Text

Wolfram Research (2008), SectorChart, Wolfram Language function, https://reference.wolfram.com/language/ref/SectorChart.html (updated 2025).

Wolfram Research (2008), SectorChart, Wolfram Language function, https://reference.wolfram.com/language/ref/SectorChart.html (updated 2025).

CMS

Wolfram Language. 2008. "SectorChart." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/SectorChart.html.

Wolfram Language. 2008. "SectorChart." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/SectorChart.html.

APA

Wolfram Language. (2008). SectorChart. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SectorChart.html

Wolfram Language. (2008). SectorChart. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SectorChart.html

BibTeX

@misc{reference.wolfram_2025_sectorchart, author="Wolfram Research", title="{SectorChart}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/SectorChart.html}", note=[Accessed: 25-April-2025 ]}

@misc{reference.wolfram_2025_sectorchart, author="Wolfram Research", title="{SectorChart}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/SectorChart.html}", note=[Accessed: 25-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_sectorchart, organization={Wolfram Research}, title={SectorChart}, year={2025}, url={https://reference.wolfram.com/language/ref/SectorChart.html}, note=[Accessed: 25-April-2025 ]}

@online{reference.wolfram_2025_sectorchart, organization={Wolfram Research}, title={SectorChart}, year={2025}, url={https://reference.wolfram.com/language/ref/SectorChart.html}, note=[Accessed: 25-April-2025 ]}