Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

How to filter data in 3 different dc.js tables independently?

I have a data collection which combines three different metrics (received calls, emails, and chat messages), and I want to display it in three separate tables using dc.js and Crossfilter: const ndx = ...
AJPerez's user avatar
  • 3,595
-1 votes
2 answers
60 views

How do I obtain a DC.js file for versions greater than 4.0?

I'd like to upgrade from DC.js v4.0.0 to v4.2.7, since this issue indicates that 4.2.7 is a stable release. The GitHub page has a "Releases" pane on the right-hand side that I was ...
Borea Deitz's user avatar
0 votes
1 answer
59 views

Crossfilter for DC chart not working properly

I am new to DC chart. I am trying to show pie, bar and row chart of patients for specific regions using static array. I am using the example as showing here. The issue is when I select a single bar ...
Somnath Pal's user avatar
  • 1,512
2 votes
2 answers
82 views

How do you create a pie chart of subitems using a crossfiltered powered dc.js chart?

Suppose I have a list of customers with their orders: const customers = [ { id: 1, orders: [{ products: ["apple", "banana"] }, { products: ["apple"] }] }, { id: 2, ...
RoboKozo's user avatar
  • 5,062
1 vote
0 answers
29 views

crossfilter.isElementFiltered for external datapoints

I need a convenient way to check if an arbitrary datapoint i.e. not part of the current crossfilter data would be filtered or not. The only way I've found is to add the datapoint to the crossfilter, ...
o-o's user avatar
  • 8,264
0 votes
1 answer
37 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
1 answer
47 views

Why every single dc.barChart example groups on dimension?

My mental image of crossfilter is that you create your dimension over the variable you wish to study, and create "bins" over that dimension, i.e. group(). I want to create a bar chart ...
o-o's user avatar
  • 8,264
1 vote
0 answers
16 views

Dc bar charts click function does not work on custom crossfilter dimensions

So, in my dataset I have one integer age variable. I am creating a custom crossfilter dimension and group of that variable as I need age ranges. const ageRangeDim = ndx.dimension(function(d) { ...
user3050590's user avatar
  • 1,716
1 vote
0 answers
55 views

dc.js 4.2.7 pieChart with legend having extra space

I am using dc.js to create some charts and one of the pie charts with legend is having issue with the whitespace. I have tried fixing it by adjusting the width attribute of the pie chart but it didn't ...
Sri Reddy's user avatar
  • 7,012
1 vote
0 answers
101 views

Dc.js with React: how to make a grouped bar chart?

Reference to this link https://jsfiddle.net/gordonwoodhull/tcraqj5e/6/ Can someone help me create a grouped bar chart using react-dc-js? I was able to create a dimension and group like in this link, ...
Physicalpixel's user avatar
1 vote
1 answer
200 views

DC.js Cannot read properties of undefined (reading 'by') at _chart.ordering

I'm running DC.js rev 3.0.2 and D3.js rev 5.16.0 and Crossfilter.js rev 1.5.4. When creating a simple pie chart from the examples, it doesn't show anything and gives the following output in console: ...
Cees's user avatar
  • 13
1 vote
0 answers
38 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
1 vote
0 answers
66 views

DC.js pie chart of already summarized data

I have aggregate data like so: Event Yellows Reds talls shorts A. 1 3 5 0 B. 0 7 17 19 So each row contains a set of colours and a set of heights. ...
artfulrobot's user avatar
  • 21.4k
2 votes
1 answer
227 views

Dc.js conflicts with Bootstrap styles on rowchart

I'm building a dashboard using dc.js/d3.js/crossfilter/bootstrap but I'm stuck on building a row chart. The problem is that all the rows of the chart are rendering with the same length, even when the ...
anonymus_rex's user avatar
0 votes
0 answers
282 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

15 30 50 per page
1
2 3 4 5
123