Live data from Hacker News

Excel 2.0 – Is there a better visual data model than a grid of cells?

subset.so

171–180 of 223 posts

Re: Excel 2.0 – Is there a better visual data model than a grid of cells?

#171
I did have a sort-kinda Excel replacement idea that I have half implemented, but it was based on distributed data sitting in OneDrive/DropBox/Google Drive etc. with formulas in a derived macro language that looked like Excel but worked like SQL.

It's built around Roslyn to do the evaluations. I did it that way because I wanted the flexibility of being able to run high-level style, predefined macros based around Excel, but with the ability to drop down to scripted C# if necessary.

It was a classic case of overkill. I need a way to do custom data extraction without re-writing the extract every time somebody made a new request. Some of the data had to be supplied by the client. I ended up with a monstrous, hash-based quasi database that runs inside an AWS Lambda.

I only half finished it because it does what I want at the moment (custom data exports for customers) but after I had it working I thought it was so stupid powerful I had to pause.

The main problem I see with something that is entirely distributed, but programmable at the C# level means it's also incredibly unsafe for anybody who is hosting it.

It would need a lot more work to be interactive (batch oriented for safety at the moment) but as an idea it seems like the next logical step from Google Sheets / Excel with a short learning curve for Excel jockeys.

Roslyn is an astonishing piece of tech really. The ability to precompile statements and call them by passing arguments is bonkers, I haven't played with anything like it since being a Smalltalk programmer in the 1990s.

Re: Excel 2.0 – Is there a better visual data model than a grid of cells?

#172

Earlier quoted context omitted.

> UltOrg is roughly "spreadsheets re-built atop the RDBMS datamodel". That's how AirTable is described as well. And Google Tables. And Amazon Honeycode.

Airtable is not really that -- it does not do much/anything in the way of calculations or aggregations. I love it and it's great for creating very structured ways of managing data, but it can't do even very basic aggregations.

Not entirely true. Airtable has formula fields [1] and it can indeed summarize columns, and even slice and dice using crosstabs [2].

[1] https://support.airtable.com/hc/en-us/articles/203255215-For...

[2] https://support.airtable.com/hc/en-us/articles/115013249307-...

Re: Excel 2.0 – Is there a better visual data model than a grid of cells?

#173
The problem (and the reason for the success) with Excel is that it optimized for ease of use. The five minute out of the box experience is wonderful. However once you start "coding" (and I'll argue that if you using a vlookup or "if" function, you are programming with Excel) it is horrible. Ignores all of the best practices we have learned over the past 60 years for programming (modular, documentation, testing, source control, profiling).

I'm obviously biased given that I teach Python and Data Science. But I think you should optimize towards writing readable code. (From my experience teaching Pandas to thousands of students and seeing it in the wild, most people are using it wrong as well).

(It just so happens that I spent most of the day deep-diving into Excel and how to most effectively cross over to a proper programming paradigm...)

Re: Excel 2.0 – Is there a better visual data model than a grid of cells?

#174
post #85

Trillions of decisions have been made off a tool that has poor error handling and data consistency issues. Blame is not entirely on either the user or the software, but the tool is too trusted without validation. [Study that was at the core for Europe's austerity and European debt crisis contained excel errors when fixed showed the inverse of original hypothesis.]( https://www.nytimes.com/2013/04/19/opinion/krugman-t…

> Programmable commands instead of a data grid would be huge improvement to quality... Would it? At the end of the day, someone else still has to proofread and QA the commands/formulas/program or it's just blind trust that the decision is being made on. Trust (or ignorance) that the creator knew what they were doing and developed it in an accurate way before action is taken on the decision being made. The interface r…

Go farther. Would the results have ever been validated if the source of truth was not a universal format easily interpretable by millions?

Re: Excel 2.0 – Is there a better visual data model than a grid of cells?

#175
post #7

Working with jupyter, I'm seriously contemplating around how to bring the best of Excel into a pandas or jupyter workflow. Mostly for exploration but also making reports, statistics, aggregations

(I'm pretty biased since I wrote a book on this, Effective Pandas.)

My take is that if you embrace the limitation of chaining in Pandas it will force you to write better (easier to read, debug, deploy, share, collaborate) code.

Also works for exploration, reports, stats, aggregations. (Many examples here https://store.metasnake.com/ )

Re: Excel 2.0 – Is there a better visual data model than a grid of cells?

#176
post #85

Trillions of decisions have been made off a tool that has poor error handling and data consistency issues. Blame is not entirely on either the user or the software, but the tool is too trusted without validation. [Study that was at the core for Europe's austerity and European debt crisis contained excel errors when fixed showed the inverse of original hypothesis.]( https://www.nytimes.com/2013/04/19/opinion/krugman-t…

I don't feel that Python is out of reach for most who are using Excel with vlookups. I do feel that most Pandas code is poorly written and thus not at all compelling to replace Excel.

(My background is that I teach Python and Data Science to large corps.)

Re: Excel 2.0 – Is there a better visual data model than a grid of cells?

#177
post #39

Spreadsheet grids are marvelous for presenting many kinds of data relevant to business. Specifically, tabular numerical data (rows of tuples with well-characterized columns). Spreadsheets are great for condensing and summarizing the minute details and aggregates spread across huge numbers of rows, and for highlighting patterns and trends. And there are other very effective ways to present data. Hypertext, Gantt chart…

You can argue that spreadsheet formulas in cells are also a type of programming, including all the hierarchy you mentioned. Only in this case the hierarchy is not just the functions nested in each other, but also the cells calculating data based on other calculations in other cells.

And while I see the OP explanation on how cells are a great way to arrange data, I would argue that the existing way of programming in Excel is pretty horrible.

Anyone who have ever tried doing something slightly complex with Excel functions soon realized that it is pretty impossible to do certain things without a lot of "magic" involved. Which is why MS added the whole VBScript thing, and even Google Sheets have their JS App Script (or whatever it is called) to provide additional options to program based on data beyond the basic formulas.

It would be great to see more visual programming languages tested in an Excel like data entry environment. Some of the PLC [1] languages come to mind, or even languages like MIT Scratch.

[1] https://en.wikipedia.org/wiki/Programmable_logic_controller#...

Re: Excel 2.0 – Is there a better visual data model than a grid of cells?

#178
post #126

I think Eirik Bakke deserves a shoutout on this thread. He's the creator of UltOrg ( https://www.ultorg.com/ ) and has literally spent his career pursuing this question with a level of focus unlike anything I've ever seen. UltOrg is roughly "spreadsheets re-built atop the RDBMS datamodel". The UI supports nested joins, aggregations, filtering, for both display and data update. The result is essentially a general purp…

That looks really nice. Is it capable of doing DDL operations?

Re: Excel 2.0 – Is there a better visual data model than a grid of cells?

#179
post #33

Thanks for posting! I love the topic - I've written before [1] about how I think spreadsheets are the most popular programming paradigm ever, we just don't talk about it much. I personally think that the evolution of spreadsheets is less about changing the UI, and instead making it possible for spreadsheet users to easily transition to more powerful programming tools in a natural and easy way. So I've spent the past…

I might have missed the point but the Mito demo just shows importing a CSV file into a common table/grid of cells? Seems like a semi-shamless plug that 100% avoids the topic of the post: is there a better visual data model than a grid of cells?

I don't feel that a grid of cells is the best visual representation for data. However, it is a natural representation for tabular data.

Tables are horrible for "visualizing". We didn't evolve looking at tables with hundreds of columns and millions of rows.

Once you learn some pivoting tools and charting, you can visualize things that you would never be able to find in a table of data. (Or if you did it would take a lot longer.)

(Sample size 1, but I teach Python, Pandas, and visualization (Jupyter w/ matplotlib/seaborn/bokeh). I've had clients tell me that one chart they came up with during a class on visualization more than paid for the training. They would have never seen that in the table of data. I've also found bugs in code by visualizing failure patterns.)

Post reply on HN