Gauge/ Scatter charts showing horizontal lines for large data at one point(qliksense limitation) - data-visualization

While working on Qliksense, Gauge/Scatter chart is showing horizontal line for large data at one point. Currently, the limitation is if there are more than 1000 data values at any given point in the scatter chart will show as horizontal line at one point. Is there any alternative way to resolve this issue for large data in Qliksense

Related

How to plot multiple line plots on Matplotlib programmatically?

I'm doing a web analytics data trying to examine the impact of emails on our traffic. The code I have for plotting is simple:
for cid in cids:
vdf = df.query('cid_short == #cid')
plt.plot(vdf['counter'],vdf['visits'], color='red', alpha=0.05)
The goal with the format is the transparency will highlight volume. The darker the region, the greater the volume in that area.
However, when I graph the plots, I see that each line is connected by the previous line, which creates weird shapes as seen in the image below.
How can I distinguish each plot programmatically (I'm dealing with 1000s of campaigns - labelled as cids).
To solve this, I identified that if there are multiple counter instances and are not grouped, then it will show the weird graph. This is important as the line chart is created based on the order of data I feed into it.
To solve this, I did the following:
for cid in cids:
vdf = df.query('cid_short == #cid').groupby(['cid_short','counter'])['visits'].sum().reset_index()
plt.plot(vdf['counter'],vdf['visits'], color='red', alpha=0.05)

HighStocks volume chart labels showing values in millions/thousands

I have a candlestick and volume series chart. Candlestick series has values
[0: 114652800,1: 171.15, 2: 171.35, 3: 170.65, 4: 170.65]
And volume chart values
[0:114652800, 1:218]
(gave a dataset for each series getting from database).
Now the problem is when I want to show both the series on a single yAxis, the volume series is missing. Then I tried to use two yAxis, then the volume data are showing in millions.
so I am confused as after the console log it shows values [0:114652800, 1:218]. But plotting shows labels in millions. I use vue highcharts. Please help.

PowerBI: Formatting totals on combined stacked bar & line graph

I have a visualization (below) that is a combination Stack bar and Line graph . I am trying to format the data labels for the line graph totals- so that they all hover above the stacked bar. This works(with default settings) for all of the dates except the first bar (see image below- highlighted in yellow). There appears to be no formatting options available for the data labels of the line graph to control the label position (unlike in the stacked bar).
Any suggestions on how to force the totals to always appear above the bars?
A simple example file is available here https://drive.google.com/file/d/1m4qicc5gv5fCmVPiBe2m6THuHGKjacnx/view?usp=sharing
Any suggestions appreciated.
Go to Format > Y-Axis > Show secondary and set it to the Off position and it should look like this:
What's happening is that your line and bars were on independent axes, which makes them align not how you intend.
PowerBI supports Total labels for stacked visuals:
You can now turn on total labels for your stacked bar/column, stacked area, and line and stacked column charts, allowing you to see the aggregates of your data at a glance

Optimal display for overlapping series in a line chart

In a context of a line chart displaying time data in regular intervals where multiple series might overlap what would be the optimal way to:
A) hint the user that the chart has overlapping series?
B) give the user the capability to visualize all those series? Like spanning the series somehow?
For overlapping series in a line chart, I would keep the traditional line chart but put a label at the end of the graph with a color legend. The legend and label will help the user get information quickly.
Another version of a line chart for overlapping series can be a line area chat.
If you are not stuck on only line charts, I would suggest a bar chart. Below are some examples that you can use.
Example 1:
Example 2:
Example 3:
There are couple ways to indicate that there are overlapping series on a chart. You can increase the marker radius of one of them. The number of legend elements tells you how many series there is, too. Finally, you can distribute series on a different yAxis, with different top and height properties. Also, in styled mode, when you hover on legend item, other series opacity changes.
API Reference:
http://api.highcharts.com/highcharts/plotOptions.line.marker.radius
Examples:
http://jsfiddle.net/whsgpdyw/ - changing marker radius
http://jsfiddle.net/fuq6j4sg/ - each series on a different yAxis

What parameter needs to be set in pyplot.plot function to ensure that graphs from big data will look smooth

I am trying to plot things in matplotlib but plot function creates a graph with sudden changes despite the fact that in excel it looks smoother. i don't know the attribute so I will just call it 'squary'. The differences are show in the picture (top - matplotlib, bottom - excel).
figure = pyplot.figure();
for channel in channels:
pyplot.plot(time[:len(channel)], channel);
pyplot.show();
The original data is not 'squary'. It is high-density data collected every 10 minutes for 67 days. The excel plot was not done with smoothing option. It was done with straight lines between successive data points confirming that the data is not 'squary' at all. I assume the problem is some parameter in the pyplot function that I don't know off.
I have realized that the problem was rounding to 2 decimals in Excel. Although the plot looks smooth in Excel when copying the data from the table, numbers were trimmed. Basically just set the rounding to more decimals and then the curve will look smooth in matplotlib as well.
I finally found the solution and it is not related to matplotlib but to Excel. I have realized that the problem was rounding to 2 decimals in Excel. Although the plot looks smooth in Excel when copying the data from the table, numbers were trimmed. Basically just set the rounding to more decimals and then the curve will look smooth in matplotlib as well.
So one should be careful to how the data will be affected after copy from Excel.