tag:blogger.com,1999:blog-279772059074318326.post7964748413267295936..comments2023-12-30T11:14:38.564-08:00Comments on D3.js Tips and Tricks: Add a bar chart in dc.jsD3 Noobhttp://www.blogger.com/profile/00927635217604611354noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-279772059074318326.post-31781935727632108482017-07-27T06:56:50.760-07:002017-07-27T06:56:50.760-07:00Nice post... here are some more crossfilter links....Nice post... here are some more crossfilter links... http://robertjliguori.blogspot.com/2016/12/interactive-data-visualization-with.htmlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-23866703296222615742016-10-29T11:34:06.866-07:002016-10-29T11:34:06.866-07:00Hmm... That might be slightly difficult from memor...Hmm... That might be slightly difficult from memory as I believe that the axes function is abstracted by dc.js. I would be looking at how necessary it was for the specific values. I'm sorry that's not much helpD3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-51364795350960489362016-10-25T02:17:31.556-07:002016-10-25T02:17:31.556-07:00Hi, I want values of x-axis in the range of 2 for ...Hi, I want values of x-axis in the range of 2 for example 2, 4, 6... Actually by default my x-axis values range getting in 1,2,3,4, ....14.<br />Could you please tell us how can I achieve this? I will be grateful for any help you can provide.Anonymoushttps://www.blogger.com/profile/03721948290955816858noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-33816368196332900922016-06-22T15:53:20.726-07:002016-06-22T15:53:20.726-07:00Sorry for the late reply. I'm not entirely sur...Sorry for the late reply. I'm not entirely sure what the answer will be, but it's possible that it could be order dependant. Try swapping the order of the x axis label call to above the xAxis call.D3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-3939553087433141402015-09-08T14:04:26.779-07:002015-09-08T14:04:26.779-07:00Hi, Thanks for the great article. I followed the e...Hi, Thanks for the great article. I followed the exact same steps and i'm encountering an issue. It is throwing an error saying "Uncaught TypeError: group.all is not a function".<br /><br />Can someone please guide me on what could be the issue here?<br /><br />Thanks,<br />VAnonymoushttps://www.blogger.com/profile/08769071492983990444noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-4259657854559602482015-08-13T22:26:25.153-07:002015-08-13T22:26:25.153-07:00Hey! How can we add xAxisLabels within dc.js? I tr...Hey! How can we add xAxisLabels within dc.js? I tried using .xAxisLabels('Magnitude ') but it din't work..<br />Here's the complete code: <br /><br />magnitudeChart.width(480)<br /> .height(200)<br /> .margins({top: 10, right: 10, bottom: 20, left:40})<br /> .dimension(magValue) // x-axis<br /> .group(magValuegroup) //y-axis<br /> .transitionDuration(500)<br /> .centerBar(true)<br /> .gap(65)<br /> .filter([3, 5])<br /> .x(d3.scale.linear().domain([0.5, 7.5]))<br /> .elasticY(true)<br /> .xAxisLabel('Magnitude')<br /> .yAxisLabel('jhg')<br /> .xAxis().tickFormat();<br /> <br />Anonymoushttps://www.blogger.com/profile/06181802993774250744noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-27321766572796262342014-11-09T00:08:32.837-08:002014-11-09T00:08:32.837-08:00Hi, Sorry for the delay in replying. I don't h...Hi, Sorry for the delay in replying. I don't have any familiarity with renderlet, so I can't really advise either way.D3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-49310678712755112182014-08-18T21:39:42.016-07:002014-08-18T21:39:42.016-07:00Hi. It's looking great. I wanted to redraw the...Hi. It's looking great. I wanted to redraw the graph if I click the bars of the chart and also the same should be replicated in the dependent charts. I tried on the same with renderlet but not able to achieve it. Do you have any idea/brief note on this? You can update it in your blog.Saro...https://www.blogger.com/profile/00539893063118130258noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-57690125434416416642014-06-20T12:05:49.072-07:002014-06-20T12:05:49.072-07:00Cheers!Cheers!D3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-80524801888189082512014-06-20T12:05:37.158-07:002014-06-20T12:05:37.158-07:00Interesting! I can't say that I've come ac...Interesting! I can't say that I've come across this before. It might be because of the versions of dc.js / crossfilter and d3.js? Possibly some subtle interaction causing an unwanted 'feature'?D3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-64008560382475808772014-06-11T03:55:44.117-07:002014-06-11T03:55:44.117-07:00Great blog/book by the way!Great blog/book by the way!Mark Joneshttps://www.blogger.com/profile/11183394221961369630noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-35178920021900698042014-06-11T03:55:05.664-07:002014-06-11T03:55:05.664-07:00I found a slight problem with this, from the examp...I found a slight problem with this, from the example in the book anyway. When having an initial filter the table underneath isn't populated until the selection is altered. Wondered if you found that happened?Mark Joneshttps://www.blogger.com/profile/11183394221961369630noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-68670101977702630782013-08-20T10:24:39.549-07:002013-08-20T10:24:39.549-07:00Lol! Is that right? I'm sure that there will b...Lol! Is that right? I'm sure that there will be many more good examples to come from dc.js. It's the only way I could find to implement crossfilter in a way that I could understand. I therefore imagine that there will be a few more souls in the same boat as I. Nick Zhu has done some great work here to make it accessible to a wider audience.D3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-34383793877979830082013-08-20T07:38:20.139-07:002013-08-20T07:38:20.139-07:00Congrats on being the second hit in google for &qu...Congrats on being the second hit in google for "dc.js example"!<br />Kudos for braving this trail.saipuckhttps://www.blogger.com/profile/09782902548937657068noreply@blogger.com