get data for small charts from html data-major attr