Look at the Mata HTML and D3 Mata libraries for an object oriented approach to constructing D3 graphs from Stata. There are examples of how to generate mata functions that can be reused in some of the repositories. Also see Buchanan (2016) from the North American users group meeting in Chicago.
Look at the Mata HTML and D3 Mata libraries for an object oriented approach to constructing D3 graphs from Stata. There are examples of how to generate mata functions that can be reused in some of the repositories. Also see Buchanan (2016) from the North American users group meeting in Chicago.