Lewis Hamilton has called on Formula 1 to publish data revealing how far the championship is representative of people from different backgrounds.