Questions tagged [dc.js]

dc.js is a JavaScript charting library with native Crossfilter support that fosters highly efficient exploration of large multi-dimensional datasets (inspired by Crossfilter's demo).

dc.js is a JavaScript charting library with native Crossfilter support that fosters highly efficient exploration of large multi-dimensional datasets (inspired by Crossfilter's demo). It leverages D3.js to render charts in the CSS-friendly SVG format, and it works best with flattened data. Charts rendered using dc.js are naturally data-driven and reactive, and therefore provide instant feedback to users' interactions.


Useful links


Related tags

1845 questions
0
votes
1 answer

Monthwise average linechart is not displayed

I've created a linechart showing averages using Dimensional Charting javascript library dc.js. I'm displaying a rowchart, linechart, and barchart. When I select one category then year wise average line chart and month wise average line chart…
pramod24
  • 1,096
  • 4
  • 17
  • 38
0
votes
0 answers

Disable resize of brush on range chart from focus charts (dc.js, d3.js) - Solved

Please note - there is a solution for part of this problem by Gordon Woodhull in Disable brush on range chart before selecting a scale from the dropdown/on page load(dc.js,d3.js) In addition,there is a partial solution at the end this…
Dani
  • 333
  • 3
  • 20
0
votes
1 answer

Unique Items in dc.js DataTable

I have a simple datatable using dc.js. Fiddle here (https://jsfiddle.net/7p5d8g0y/) My data emerges from the datastore in the following format. Note the array for the category…
Pram
  • 2,261
  • 3
  • 31
  • 50
0
votes
0 answers

Can I send optional fields in crossfilter when i making dimension for color coding perspective in dc.rowChart()?

I recently started to use dc.js for my chart creation because it efficiently use crossfilter instance for event handling across different charts. which made dc.js pretty awesome. But there is also some disadvantages: when it comes from group &…
Yash Mangla
  • 133
  • 9
0
votes
0 answers

Issues filtering dc.seriesChart

I am new to posting a question on stackoverflow, so any guidance is much appreciated! I am using crossfilter.js and dc.js to plot charts (fairly new to both). One of the requirements is for a seriesChart (scatterplot). Note: I am using the latest…
0
votes
0 answers

Is it possible to show multiple rows for a horizontal legend in dc.js

Has anyone seen any overrides or extensions to allow for multiple rows for a horizontal legend in dc.js? I currently need to have two lines of 3 items.
C. Wolcott
  • 169
  • 2
  • 13
0
votes
1 answer

Group totals in d3/dc.js data table

I have a data table made with dc.js that groups data on month and shows daily data from various suppliers. I would like to include a monthly total within the table, in the row of the month group. Is this possible? Here's the definition of my…
Kijgkijdds
  • 25
  • 5
0
votes
1 answer

dc.js heatmap deselected colors

In dc.js I have linked a heatmap with a bar chart. When a range is selected on the bar chart, the heatmap defaults to the first color in the color scheme instead of the gray deselected color. How can I get the heatmap to use the gray color?
Malcolm
  • 99
  • 1
  • 5
0
votes
1 answer

editable scatter chart using dc.js

What is a good approach to have a scatter plot in which the data can be edited in the plot itself with a click action? The idea is to spot outliers in the data in the plot and filter the values in the plot itself, rather than having to change the…
0
votes
1 answer

Disable title tag in dc.js charts

In this chart, built using dc.js we have got both d3.tip as well as, default title tag. We needed to have multiple data (not only key and value) in tooltip. For this reason, we're reducing the data: var denialGroup =…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
0
votes
1 answer

EDGE issue - add new line in tooltip for title attribute in dc.js chart

This issue is only for EDGE browser So far, for our dc.js chart - we have tried 9 different approaches for showing title attribute value in new line Now, when I try to implement them with my chart: .renderTitle(true) .title(function (p) { …
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
0
votes
1 answer

How to guarantee that a brush in a scatterplot made based in dimension with 3 keys interact with other charts?

How can I guarantee the multi-chart filter behavior by using three keys in the scatterplots dimensions? as you can see in [ https://jsfiddle.net/rogeraleite/dmf3fstw/2/ ] ..specific in the lines where I declare the dimensions for the…
Roger A. Leite
  • 394
  • 2
  • 18
0
votes
0 answers

how to change the color of text labels in a dc.js chart using css

Given this fiddle how do i change the color of the text labels in the graph. They are currently white (e.g. Aziz). I have tried with here but that does not work text { fill: black; } I finally got it with this here .dc-chart g.row text { …
HattrickNZ
  • 4,373
  • 15
  • 54
  • 98
0
votes
1 answer

DCjs-Crossfilter grouping keys based on values

I've have the following dataset. [{..... att1: a, hits: 2}, {..... att1: a, hits: 2}, {..... att1: a, hits: 3}, {..... att1: b, hits: 2}, {..... att1: b, hits: 2}, {..... att1: c, hits: 9}, ] I want to create a bar chart where x values would be…
bashhike
  • 129
  • 1
  • 10
0
votes
1 answer

How to put filteration expressions in vars in dc.js?

In our dc.js powered d3.js chart. Trying to concatenate a few boolean expressions inside crossfilter's's filter function by using code appending approach. var field1 = true, field2 = "XYZ", field3 = "ABC", field4 = 1 var filteredData =…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
1 2 3
99
100