Skip to main content

All Questions

Tagged with
0 votes
2 answers
43 views

Set axis domain dynamically based on minimum and maximum dataset value for a d3.js bubble chart

I am trying to assign a dynamic domain values for d3.js bubble chart. I am creating bubbles for total amount for an error per client. When I use a hardcoded range, I see the bubbles for each client. I ...
Sri Reddy's user avatar
  • 6,962
0 votes
1 answer
35 views

uncaught TypeError: reduceInitial is not a function

I have an error that I cannot understand. It looks like I forgot to load a library but I've gone through all the available d3 libraries I can't see which library has reduceInitial as a function. I use:...
Gilles Criton's user avatar
1 vote
0 answers
35 views

Multiple Control Spans/ Ranges, one dimension in dc.js or crossfilter

I was wondering if it's possible to create multiple simultaneous control span filters in dc.js or crossfilter for a single dimension (e.g., something like the picture below). I was hoping you could ...
jackbdolg's user avatar
  • 115
0 votes
0 answers
242 views

How to make a multiple line chart with series color determined by another property

I'm currently building a angular project where i need to draw a line chart with multiple datasets. Angular 14 dc.js 4.2.7 Each line should represent a mac address and the line color should be ...
user3267841's user avatar
1 vote
0 answers
82 views

How can I solve the console error for dc.js OnClick functions?

I'm currently using d3.js version 7.4.4 and dc.js version 4.0.0. Here's the code for making a bar chart and 2 pie charts using the same data: dataCount = dc.dataCount('#data-count'); var CountryChart=...
Manan Uppadhyay's user avatar
1 vote
1 answer
413 views

Is dc.js (used with crossfilter and d3.js) still a good option for Big data visualization on a browser page?

I'm try to build an online dashboard to visualize a large csv dataset and i want to be sure i'm following the right path. Thank you everybody.
giovnn's user avatar
  • 21
1 vote
0 answers
146 views

How to make a datatable with crossfilter2 from dimension with arrays?

I have data like this: IDX Name 1 Jack,Mike,Amy 2 Amy,Mike 3 Amy 4 Jack,Rachel And with crossfilter2, I've been able to make a pie chart of each individual and the number of times they are ...
Adam Boyher's user avatar
2 votes
1 answer
140 views

dc charts look different when building Angular App in production mode

I'm currently working on an application that is using d3, dc, and crossfilter to render some charts. crossfilter2: v1.4.6 d3: v3.5.17 dc: v2.2.1 I was working on making the Y scale only showing ...
codeThinker123's user avatar
2 votes
0 answers
73 views

Summing a multi-dimension crossfilter to reduce the number of dimensions

I'm working wtih @tillandsia on this problem and have made some strides thanks to @Gordon's advice. I've reshaped the data so there are Date, Hair Color, Age Group, and Value columns. E.g. Date, Hair ...
Daniel Baker's user avatar
1 vote
1 answer
221 views

Group by multiple dimensions recursively in dc.js?

dc.js has been great, and now I'm trying to understand how to use it for data with multiple dimensions. I have time series data (csv), which contains the number of people that fit a certain attribute ...
tillandsia's user avatar
2 votes
2 answers
552 views

How to add icons in dc.js piechart slices instead texts

I have been working with dc.js for a year now. Recently I have been tasked to implement a pie chart as below: I want to replace the text labels in the pie chart slices with appropriate images. I saw ...
Michael Phandera's user avatar
3 votes
1 answer
1k views

d3 break line graph if no data

I am using dc to create a line graph where capacity is on the y-axis and week is on the x-axis. For weeks, the range is 1-52, but there is no data from weeks 2-40. I only have data for week 1 and 41-...
fairlyMinty's user avatar
1 vote
0 answers
30 views

Can not get dimensions and groups to work properly in DC JS

Ive been trying to get DC js and crossfilter to work with the following dataset, but I am not getting anywhere. Can someone please help me? The dataset looks like this : Serie,Time,Country,Value co2KT,...
Sander Slagman's user avatar
1 vote
2 answers
144 views

Use DC.js Canvas Scatter Hover Information to Update Another Chart

I would like to hover over a DC.js canvas chart, and use the hovered point to apply changes to another chart (I.e. display the information about that point in another chart). The complications: It's ...
joshp's user avatar
  • 796
1 vote
1 answer
110 views

Original Data Display on chart after filtering (DC.js)

I'm trying to display original data on my DC.js chart (similar to this) once filtered by using a "fake group". I followed the steps in this post, and haven't had luck. I'm wondering if it's ...
joshp's user avatar
  • 796

15 30 50 per page
1
2 3 4 5
36