Added visual linkage between table and pie chart.
Now with refactored fetch.