Questions tagged [stream-graph]

chart used for plotting time series data by their relative area

chart used for plotting time series data by their relative area

47 questions
1
vote
1 answer

D3.js Stream Graph json data format

I'm trying to generate a D3 Stream Graph similar to this beautiful example using some activity tracker data. I've referenced this example - http://jsfiddle.net/NTJPB/1/light My JSFiddle - http://jsfiddle.net/Nyquist212/00war1o6/ is telling me I have…
Colin
  • 930
  • 3
  • 19
  • 42
1
vote
1 answer

d3.time.format.multi is not a function

I need to design a streamgraph using d3.js and I started to experiment with the code hosted on GitHub. Since my dataset is expected to have a varying range between the minimum and maximum values for date (it can be a period of one month or several…
Deniz
  • 53
  • 2
  • 7
1
vote
0 answers

Drawing two streamgraph with different data in one canvas

I am new to processing.js and trying to create streamgraph based on the open source codes provided here https://github.com/jsundram/streamgraph.js/blob/master/src/streamgraph.pjs. I would like to know how can I go about drawing two streamgraph with…
1
vote
1 answer

Why does the NVD3 StreamGraph shift the y zero axis over time?

Link to sample image with tilting graph: Link to NVD3 Streamgraph page: The nvd3 streamgraph will descend or ascend sharply over time. I searched SO and the NVD3 documentation but didn't find a variable that controls where the zero of the y axis…
anjarp
  • 67
  • 1
  • 6
1
vote
1 answer

Adding dynamic tooltips to a streamgraph d3.js

Im working on a streamgraph at the moment, I want to add tooltips to each layer similar to this http://archive.stamen.com/mtvmovies-streamgraph/chart.html The tooltips I have now dont really work at all. All I get is 'NaN' displayed in the tooltip…
Daft
  • 10,277
  • 15
  • 63
  • 105
1
vote
1 answer

D3 streamgraph layer fade function

I recently found this Streamgraph http://bl.ocks.org/1963983: I am trying to implement the fade function in that example into my own streamgraph but am having no success. Mine is obviously quite a bit less complicated than the one in that example.…
Daft
  • 10,277
  • 15
  • 63
  • 105
1
vote
0 answers

array format for D3 streamgraph

https://github.com/mbostock/d3/wiki/Stack-Layout http://mbostock.github.com/d3/ex/stream.html I'm trying to make a streamgraph with D3.js. Looking at the example, we see that the data is formulated through the helper function stream_layers(n, m).…
Harry Moreno
  • 10,231
  • 7
  • 64
  • 116
1
vote
1 answer

Correct usage of stack.values([accessor]) in D3 Streamgraph?

I am trying to create a D3 streamgraph chart with additional data per layer using a values accessor, as demonstrated in the D3 API reference and this question at Stack Overflow. The title appends fine, but it does not appear to append the values.…
Derek Hill
  • 5,965
  • 5
  • 55
  • 74
0
votes
0 answers

Streamgraph does not render categories properly

For last week's TidyTuesday challenge, I want to make a stream graph that will depict the top 5 boardgames categories' mean average in the years between 1990 and 2022. To this end, I did some data wrangling as the following ratings <-…
mzkrc
  • 219
  • 2
  • 7
0
votes
1 answer

right JSON format structure for Streamgraph example D3

I was trying to do some examples with this streamgraph layout of D3.js. My data has this format. So the my object has objects with the name of the country andy in those objects i have several arrays with different values per month and the date for…
basedian
  • 307
  • 1
  • 5
  • 18
0
votes
0 answers

Streamgraph with JSON File

I wanted to try the streamgraph of Mike Bostock with this Json File i created earlier { "Irak": { "Insgesamt_monat": [ 1086, 1026, 1108, 1074, 1015, 693, …
basedian
  • 307
  • 1
  • 5
  • 18
0
votes
1 answer

R Steamgraph error: "invalid subscript type list"

I get the following error using the steamgraph package library(streamgraph) streamgraph(data, "Keys" ,"Box.Office", date = 11-11-2011, interactive=TRUE) Error in .subset(x, j) : invalid subscript type 'list' Sample of the…
0
votes
2 answers

streamgraphs dataviz in R won't plot

Has anyone checked out the great new dataviz package called streamgraphs? Here are some examples: http://rpubs.com/hrbrmstr/streamgraph04 I'm looking to visualize revenue of five different products over time and want to see how it looks in a…
itjcms18
  • 3,993
  • 7
  • 26
  • 45
0
votes
0 answers

Change Color of Stream/Layer in d3 Streamgraph

With reference to following Implementation of Streamgraph http://bl.ocks.org/WillTurman/4631136 If we have 8 Keys then there will be 8 Layers mapped to 8 different colors. Now If we have the following dataset: [T1][T2][T3][T4] [ 1][…
Ronak Agrawal
  • 438
  • 3
  • 13
0
votes
1 answer

How to apply tooltips to elements in d3 nested layers (streamgraph)

I'm trying to create an Interactive Streamgraph that uses tooltips at certain points like this. Some of the data points have text in them, and that is where I'm drawing the circles and displaying the data when I hover over the circles. How do I…