Questions tagged [charts]

Questions about building charts in Mathematica. This includes generating the graphics, prettifying them, and using methods to extract their data.

Filter by
Sorted by
Tagged with
2
votes
2answers
66 views

How to change the default color of the “joined” lines in BarChart function?

is there any way to change the default color of the joined lines in BarChart function? As the joined function turns on (i.e., Joined -> True), the joined lines are plotted automatically with the ...
4
votes
1answer
72 views

How to make a bar graph like this?

I've read some article recently and because I've been doing the same calculations so far, I wanted to have a graph like this: by the looks of it, it certainly looks like it was done in mathematica, ...
0
votes
1answer
52 views

how to create a new bar chart using the data from the existing barcharts

I have the following code to generate two separate bar charts. I like to create a new bar chart by extracting the data from the following barcharts. ...
1
vote
1answer
51 views

How to delete missing data and use the resulting database in a bar chart

I want to construct a bar char for the following data, but I am having a problem with Missing[]: ...
2
votes
3answers
136 views

how to create a `directed` bar chart

This code was developed by @Jagra: ...
7
votes
2answers
167 views

How can I rescale / format chart elements in a bar chart?

In this simple MWE, I create a simple chart element of a female figure, and then I apply it to a barchart, with the following code (note: womfig = this little stick figure here). ...
0
votes
1answer
37 views

Place BoxWhiskerChart onto plot

Suppose I have two plots: one which is a generic curve, the other is a box whisker chart of data. How can I overlay the two (with the outliers removed)? ...
7
votes
3answers
199 views

Barchart with statistics as labels

The following code (thanks to @Jagra): ...
2
votes
1answer
66 views

how to construct a fancy bar chart

I have the following code to produce an almost fancy BarChart: ...
1
vote
0answers
54 views

How can I use TradingChart without volume data?

I am trying to use the Mathematica Function TradingChart to produce a chart. I am using data produced by me for the plot and I do not have the volume data. Here is ...
1
vote
1answer
42 views

Labeling the bars in a stacked BarChart

I have the following data, which shows the number of events by day of the week (Sunday through Saturday) and hour of the day (00 through 23): ...
6
votes
1answer
183 views

Plotting Timeseries without gaps or interpolation

I have a time series sampled at 5-minute frequency for a financial instrument that trades from 08:30 to 15:15 CT. No trading takes place outside those hours. I want to plot the series with the x-axis ...
0
votes
0answers
27 views

Make a bar chart of the lengths of the words in“A long time ago,in a galaxy far,far away"

The expected output and the output obtained both are same, but why is it showing it wrong. All the desired functions have been used,
1
vote
1answer
39 views

How can I set the leftmost x-value of a Histogram?

The following code: ...
2
votes
0answers
63 views

Why is my BubbleChart so slow?

I am using the California Housing data to create a Dataset. My Dataset is called "housing" and contains 20000 odd rows with 11 columns. I am trying to make a BubbleChart by using three ...
3
votes
0answers
42 views

How to use ScalingFunctions with Graphics ChartElements

How to draw spheres with BubbleChart with a reversed vertical axis? The 3rd example shows the problem (empty plot), likely caused by the transformation, but how to correct it? ...
2
votes
1answer
53 views

BoxWhiskerPlot grouped: matching colors of outliers, whiskers, etc [duplicate]

How to be able to make whiskers and fences of red boxes red, and of blue boxes blue in the following example with grouped boxplots? ...
0
votes
3answers
44 views

Add text between two charts on a BarChart

I have the following list : ...
6
votes
3answers
165 views

Change style of Joined line in BoxWhiskerChart

How do I change the style of just the joining line (e.g., to Red) in a chart such as this? ...
12
votes
2answers
212 views

Manipulate for playing along with “Deal or No Deal?”

I started building this Manipulate and am certain I can do so on my own, but thought it was fun enough that others might want to try. (If this is some abuse of the ...
9
votes
2answers
275 views

BoxWhiskerChart - how to show Quartile and other values

I have a question in respect of the BoxWhiskerChart. The default functionality of BoxWhiskerChart is that you mouse over it and ...
1
vote
2answers
97 views

BubbleChart with Callout

I have following data ...
4
votes
1answer
51 views

Fixing histogram size behavior within grid of graphics

I'm trying to put the finishing touches on a grid of figures and could use some help. I'm trying to keep the figures as clean as possible, so I only want frame ticks and labels on the edge figures. ...
4
votes
2answers
208 views

A complex PieChart

I'm trying to reproduce the data visualizations in this article: https://towardsdatascience.com/improve-your-analytics-projects-w-these-data-distributions-visualizations-7ba3821f2092 The composite pie ...
2
votes
1answer
37 views

BarChart has incorrect partial Graphics elements?

I'm trying to create a bar chart that displays job evaluation ratings visually. Rather than use a bar, I'd like to show each rating number as a discrete unit, a rounded rectangle. As per Mathematica ...
0
votes
0answers
90 views

Getting the source code of the custom indicator MESA

I would like to ask how to get the source code of a custom indicator offered by the InteractiveTradingChart function, in particular the MESA indicator (Maximum ...
2
votes
1answer
60 views

InteractiveTradingChart with date and time displayed for selected data

It is possible to modify TradingChart such that instead of just the date, date and time are displayed for a selected data point. Is there a "trick" that ...
3
votes
1answer
70 views

Manipulate InteractiveTradingChart or lazy Manipulate

Back in 2012, it seems that something like Manipulate[InteractiveTradingChart[ticker], {ticker, {"AMZN", "GOOGL"}}] worked fine. Mathematica 12....
0
votes
0answers
43 views

Problem with a BarChart

I have problems with a graph, First: I am using data from a list, before I used RamdomReal, but I can't get it to work. Second: the statistical data doesn't appear in the graph, I do not know why. ...
1
vote
1answer
48 views

Placing the legend on a BarChart [closed]

I would like to have the label on the plot rather than on the side. ...
6
votes
2answers
162 views

BarChart - Maintain ChartElementFunction when changing PlotRange

Here is a BarChart of some data ...
4
votes
1answer
80 views

DateHistogram with Stacked / Percentile layout

Requirements Each bin's bars stack to 1. Nice Date axes labels and maximal support for DateHistogram features/options. Example ...
5
votes
1answer
132 views

Stacked/Percentile Bar Chart formatting

There seem to be a lot of questions regarding the formatting of bar charts. Sadly, I couldn't find solutions to my problems, despite all the skimming. Apologies if I missed something. Problem ...
0
votes
1answer
60 views

Creating chart labels of two different Manipulated data sets in BarChart

I want to add chart labels to different datasets that are chosen via manipulate. I have a hierarchical data set that I imported from excel and broke down into subgroups using nested associations. ...
-1
votes
1answer
71 views

How do I label the x-axis bars in my bar chart? [closed]

input: ...
2
votes
1answer
108 views

Overlay a line plot onto a candlestick chart?

With the command CandlestickChart one can create charts such as CandlestickChart[data] Let's say, we take the 20-period moving ...
4
votes
1answer
71 views

Can I Center Chart Elements in BarChart

I am generating a bar chart in which each count is to be represented by a disk (or something similar). This alone seems straightforward: simply set the option ...
11
votes
2answers
374 views

How can I plot my financial indicator below a trading chart (produced by TradingChart) with the same x-axis?

Since this question was not answered, I would like to ask again with some additional information. I have a trading chart saved as chart1 as follows. ...
7
votes
3answers
217 views

To hatch bar in BarChart

I have this code: ...
7
votes
0answers
48 views

BarChart does not display asymmetric error bars correctly

BarChart seems to read the uncertainty in elements the other way around. The object: Around[5, {1, 10}] is evaluated as . However, when you use it in a BarChart, the uncertainties are swapped: ...
3
votes
0answers
43 views

BoxWhiskerChart features breaking with massive WeightedData datasets

I have huge WeightedData objects (500K) that I am trying to plot in BoxWhiskerChart. I can get the default chart, but if I try and use the "Outliers" option, it breaks and hits a recursion ...
3
votes
3answers
259 views

Polar Bubble Chart

I would like to create a plot similar to that in the figure 1. I tried using both ListPolarPlot and BubbleChart, but they do not have the right option for creating a polar bubble chart. Any suggestion?...
3
votes
1answer
59 views

Multiple legends for barCharts

I came across this and found it quite cool. Here is the minimal example: ...
3
votes
2answers
116 views

Plotting a Set of Three Points with Histogram3D

I would like to know whether I can use Histogram3D to plot a set of points with three given values. I want to plot the values {0, 0, 0.01}, {0, 1, 0.1}, {1, 0, 0.02}...
8
votes
1answer
127 views

How-to generate a stacked BarChart?

I would like to generate a stacked BarChart using following sudo dataset. ...
3
votes
2answers
54 views

Display `Table` output as a 3D bar chart

Create a simple function with arguments {i,j}, and make a Table for an array of values. For example: ...
7
votes
3answers
163 views

Decrease padding around Bar Chart

I don't like the default amount of padding / white space around BarChart. How can I specify it? BarChart[{1, 2, 3}]
2
votes
1answer
52 views

How to obtain Detele

From a={{6, 4}, {8, 1}, {11, 3}} How to obtain {{6, 8, 11}, {6, 11}, {6,11}, {6}} or ...
3
votes
1answer
54 views

Modified BoxWhiskerChart for statistical summary of data

I would like to make a statistical graph (chart) from data in the format {x-value, mean value, standard deviation} as in: {{10, 10.73, 0.72}, {20, 14.10, 0.49}, {30, 13.96, 0.49}, {40, 13.43, 0....
0
votes
1answer
59 views

Apparent discrepancy between visual and calculated Mean in Histogram

From a randonly generated normal distribution of values v: v = RandonVariate[NormalDisrtibution[56.6*10^-9,2.5*10-9]] I ...

1
2 3 4 5
8