score:1

Accepted answer

I am not sure how this chart suppose to look, so I suggest to use grouped categories plugin, to display data: http://jsfiddle.net/TFhd7/754/

However, as you said, it's not a problem to render 1000 of bars, but readability of the chart will be very bad (just multiplicated data, see: http://jsfiddle.net/TFhd7/755/ )

Sample code for Highcharts:

var categories = [],
  seriesData = [];

$.each(mockData, function(i, item) {
  categories.push({
    name: item.name,
    categories: item.partners
  });
  seriesData = seriesData.concat(item.data);
});

var chart = new Highcharts.Chart({
  chart: {
    renderTo: "container",
    type: "bar"
  },
  legend: {
    enabled: false
  },
  series: [{
    data: seriesData
  }],
  xAxis: {
    categories: categories,
    labels: {
      x: -4
    }
  }
});

Related Query

More Query from same tag