How can I build the following graph in Grafana with Athena CSV as a source - grafana

I have the following CSV that my Athena as a service (aws) is using as a source.
I am currently using QuickSight to create the needed graph but I cant seem to be able to to go about this in Grafana. This is more or less what the CSV looks like:
All graphs are time based and should use the creation date as the timeline (x).
For y I would like to use different combinations to create different graphs.
For example, one of the graphs should have the time as the y while different colors of the y will represent different Tag combined with size.
My point is that many graphs could be extracted from this CSV yet I cant find a way to go about this as each query enables me to choose only table and column.
In QucikSight I am able to choose the x column (although it detects Creation date automatically) and add all kinds of filters for the y, all done graphically.
Is it possible to do in Grafana? Any help would be appreciated!

Related

Connect line chart when using datasets with non-overlapping labels(timestamps)

I have several datasets (approx. 10) that comes from user input and the labels (x-axis) will therefore almost never overlap between the datasets.
What i would like to do is connecting points from the same datasets (for instance bloodPressure) thru a "non-existing" datapoint when this is necessary - like in the graph below. I would not want to fake a datapoint to achieve this.
Any suggestions how to do this?
I found the answer in the Chart.js documentation. It is possible to skip the array of labels and instead create the datasets with a x and y value like in the screen dump.
Works fine!

How do I save forecasted values to use in calculations in Tableau?

I have a report that uses a couple years of historical data and uses the Tableau forecasting to show expected values for the next three months. I would like to be able to save these values for a few reasons.
I need to do calculations on the forecasted values. Multiple different people will be using this forecast and will need different calculations. Some will need to calculate 70% of the forecasted value, and some will need to calculate different percentages. I'd like to have a parameter for them to enter the percent and be able to create a calculation using the parameter and the forecasted value.
I would like to be able to save forecasted values to later show the difference between what was forecasted and what actually happened. I understand you can export your data from your forecast and import that as another data source to show actuals vs forecast, but I need to do it all automatically with no manual intervention.
Is this possible? I haven't found any way to save the values or do calculations on the values that are forecasted. I am using Tableau 10.5
Tableau will never save data. Probably easiest to create the forecast values in the datasource and then report. It's very simple to have "actual" values and "forecast" values so you can compare

tableau dual axis multiple variables

Hi I have some insurance data and I am trying to put multiple variables on my map but got stuck. I am using tableau public in my desktop.
To understand what I am plotting, I am interested in if the data is Direct or Agent and if the data is HO3 proudct or BC product. How my data is set up is one column is Direct HO3, another Direct BC, Agent HO3 and another Agent BC. It is broken down by zip with corresponding county.
I tried to use dual axis but with 4 combination first dual layer is Agency (HO3 & BC) and my second dual layer is Direct (HO3 & BC). I need help either putting 4 of these data by using color shelves or hide the second graph as shown. The two charts are the same but I can't get 4 data plotted at the same time. I can't seem to put all 4 columns of data plotted with 1 dual axis chart. All of my data are measures no dimensions except zip code and county column. I do think it has to do with how my raw data is but I am not sure how to modify my raw data so tableau will plot the way I need.
I created hide/un-hide fields to hide data that has 0 HO-3 policy count or 0 BC policy count. Second picture is from my raw data.
Looking at your dataset one thought that will work is you can pivot all 4 columns that you are planning to view on the sheet.
Create a chart with pivoted values and then drop the pivoted field name on to the color which will differentiate your measures and show to user

For d3js, has anybody created a mapping of types of input data to possible types of output charts?

Is there already a way to automatically generate possible samples of a d3js output graph based on the nature of the input?
I'm trying to tabulate different charts on the d3js gallery page d3js gallery to the nature of input data. i.e. if there were two columns of data and one of them is a number, then we could generate a bar graph or a line graph.
Eg.
Bar Graph; {columns:2, yaxis: number, xaxis: number/date/nominal}
SpeedoMeter; single number value
At least has somebody already got a start on this?
No. This would be a huge amount of work because you can make many types of graphs work with many kinds of data. The closest there is would probably be NVD3, which allows you to create graphs from pre-defined data structures with a few lines of code.

How can I control how Jasper Reports combines data for a single value in a time series?

I have a time series and I'd like to:
a) Know how Jasper Reports (or JFreeChart) will combine my data for a single point on the chart by default
and
b) Be able to change how that combination is performed
For instance, let's say that I have samples of data once per second, and my time series is configured for "minute". That means that I have 60 pieces of real data for each single value shown on the chart. I'd like to be able to control how that mapping is done (e.g. average, maximum, etc.).
I looked around for documentation on how to see the default or modify how the plot works, but I wasn't able to find anything. Perhaps my search terms (chart, time series, etc.) were too generic.