As the title said, I built an python algorithm that takes people data (linkedin & other sources) and turn them into an organizational chart. I coded this for an organizational research class, but I though that it could potentially be useful to sales people too, to understand clients' organization.<p>Right now the script takes into account mainly the person's job title and the location. Job titles are matched against a library of macro positions, to understand the functional role. Location is normalized and then used to identify offices, countries and regions and group accordingly. These data are then used to draw the org chart, with a best guess of the lines of reporting.<p>The script takes the company domain as input. Then it queries the data it needs and draw out the org chart (see output example below - visualization of the sales org of a 500 people tech co). The visualization is pretty basic right now - essentially a python printout - but I'm sure it could be made better.<p>The code is now local on my laptop, but I can open source it if useful. Would you find this useful?<p>https://res.cloudinary.com/hq078g0yq/image/upload/v1587025657/org_chart-1_zqjbao.png