Hot answers tagged

29 votes
Accepted

How to create Diagrams using Wolfram / Mathematica?

...
user avatar
  • 349k
28 votes
Accepted

How to make a pie chart using custom image

...
user avatar
22 votes
Accepted

Better way to sort course grades

This is a great use for the Association data structure, which makes so many tasks in Mathematica that much more pleasant. First, we can just write out a ranking ...
user avatar
  • 17.9k
21 votes
Accepted

Insets around a clock

You can also arrange the lines on a circle like a pie chart: ...
user avatar
  • 349k
18 votes

How to create Diagrams using Wolfram / Mathematica?

...
user avatar
  • 109k
16 votes
Accepted

Histogram with Error bars

For the case where the height function is "Count", we can use the formula from the linked page in a custom ChartElementFunction ...
user avatar
  • 349k
15 votes

BoxWhiskerChart - 10-90th percentile instead of min - max

With the data beeing data = RandomVariate[NormalDistribution[0, 1], 200]; the range of the box specified to be one sigma (approx. 68.3 %tile range) by ...
user avatar
  • 27.1k
15 votes

How to make a pie chart using custom image

Combinining @belisarius's cool solution for the key challenge with some built-in ChartElementDataFunctions you can do a number of tricks: ...
user avatar
  • 349k
15 votes
Accepted

How to plot paired smooth histogram/distribution plots?

Here is something using a custom ChartElementFunction ...
user avatar
  • 10.6k
15 votes
Accepted

Varying the size of dots in a plot according to information contained in list

You can use several approaches: BubbleChart: bcdata = Join[xy, List /@ pointsize, 2]; BubbleChart[bcdata] See the options <...
user avatar
  • 349k
15 votes

Insets around a clock

...
user avatar
  • 120k
14 votes
Accepted

Update: Combining DistributionChart and BoxWhiskerChart

Final Update: Adding Callouts to special points ...
user avatar
  • 349k
13 votes

How to create Gantt charts

You may use TimelinePlot with the PlotStyle option. For a project with schedule of start ...
user avatar
  • 39.3k
12 votes
Accepted

DistributionChart range extends beyond the data itself

SmoothHistogram >>> Details and Options: MaxExtraBandwidths >> Details and Options: Despite the red syntax highlighting, this option also works in ...
user avatar
  • 349k
12 votes
Accepted

How does BoxWhiskerChart detect outliers?

iqrc = "IQRCoefficient" /. ChartElementData["BoxWhisker", "Options"]; 1.5 ...
user avatar
  • 349k
11 votes

How can I make a list plot with bars?

BarChart Although OP says "I don't want a BarChart", the requirements of list plot with drop down columns/bars (overlapping bars/columns) can be achieved using ...
user avatar
  • 349k
11 votes

How to create a bar chart from a list of heights *and* bin delimiter positions?

You can already achieve this using Histogram. No need to fuss with ListPlot. Use these forms for the second and third arguments ...
user avatar
  • 919
11 votes

Add a rug representation to plot

Just to illustrate the point I made in the comment, let's take a data set where the points stack up vertically, and verify what it looks like if we visualize their density by means of a color gradient ...
user avatar
  • 95.2k
11 votes

Bar chart scale in multi-chart visualisation

Histogram does not support a grouped ChartLayout. Hence the workaround using BarChart: I'...
user avatar
  • 349k
11 votes

Reproducing the xkcd "Self-Description" comic

Here is a slightly improved/updated version of the solution developed by Peter Frentrup and published at Jan 15, 2010 on the xkcd forum. The changes I have made are to put ...
11 votes
Accepted

Plot PieChart as a line (or as a stacked BarChart)

...
user avatar
  • 106k
11 votes

Better way to sort course grades

I had to deal with similar problems many times, and I usually do this with associations. We start by defining an exhaustive list of grades in our desired order. I am not that familiar with the ...
user avatar
  • 225k
11 votes
Accepted

Gantt Chart like rectangles with log scale

...
user avatar
  • 349k
10 votes

Most convenient way to set legend marker size?

For ChartLegends, although the documentation does not mention any values other than "Row" and ...
user avatar
  • 349k
10 votes

PairwiseScatterPlot with histograms along the diagonal

Update 3: Using the function pwScatterPlot from this answer ...
user avatar
  • 349k
10 votes
Accepted

Add a rug representation to plot

Let's generate some data to play with: ...
user avatar
  • 60.4k
10 votes
Accepted

A better alternative to the paired bar chart

Here is a version that builds up the "full Tufte" version of the plot presented above by building up the corresponding Graphics primitives. Quite a few styling ...
user avatar
  • 60.4k
10 votes
Accepted

Can I change text color in bar graphs based on the underlying bar color?

...
user avatar
  • 27.1k
10 votes
Accepted

PieExploded in newer versions

The dynamic variables controlling the popout state of each segment are initialised to False in the DynamicModule container. If ...
user avatar
  • 83.4k
10 votes

Plot PieChart as a line (or as a stacked BarChart)

 RectangleChart[Callout[{#2, 1}, #]] & @@@ diversityCoearse, ChartStyle -> 97, AspectRatio -> 1/2, BarSpacing->{0,0}, Axes -> {True, False}] ...
user avatar
  • 349k

Only top scored, non community-wiki answers of a minimum length are eligible