Creating a mosaic plot

1,165 views
Skip to first unread message

Dane

unread,
Oct 4, 2011, 9:36:27 PM10/4/11
to d3-js
Hi,

I am trying to create a mosaic plot using D3.js which is something
similar to the link shown below:

http://www.analyticsworld.net/2010/04/22/data-visualization-example-1-mosaic-plot/

I have some very general idea about the approach and will like to seek
everyone guidance.

I am thinking of combining several stack chart together in order to
achieve a mosaic plot.

Is there anyone who can inform if I am in the right direction? Any
example would be appreciated. Thanks.

Jason Davies

unread,
Oct 5, 2011, 10:34:44 AM10/5/11
to d3...@googlegroups.com
On Tue, Oct 04, 2011 at 06:36:27PM -0700, Dane wrote:
> I am trying to create a mosaic plot using D3.js which is something
> similar to the link shown below:
>
> http://www.analyticsworld.net/2010/04/22/data-visualization-example-1-mosaic-plot/
>
> I have some very general idea about the approach and will like to seek
> everyone guidance.
>
> I am thinking of combining several stack chart together in order to
> achieve a mosaic plot.

Have a look at Mike's example here:

http://bl.ocks.org/1005090

We worked on a reusable version too, but it's not in a release yet:

https://github.com/mbostock/d3/pull/169

--
Jason Davies, http://www.jasondavies.com/

Reply all
Reply to author
Forward
0 new messages